Small fixes to the JSONGenerator. Added JSON tests. A simple questionnaire AST will now  outputs valid JSON.
Merge branch 'master' of https://github.com/samal84/supersurvey