added json export capability

Now lime survey can be exported in json format also.
Added a simple private method that will convert xml to json.
the survey is first exported into xml using the current available functionality, and then later just translated to json and then output.
Merge pull request #115 from rohitmp/2.05

added json export capability
-- Thanks for the contribution!