fix that token_destroy() did not set token->allocated to false

fix memory leak in the json parser and add more tests for cxJsonFromString - relates to #777

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial