Output Type Selection

Output can now be in the form of a simple html api, or a json object
providing details of the operation. DEFAULT_OUTPUT_TYPE in the code can
be toggled between the two, or alternatively ?output_type=json can be
added as a parameter.
Readme Update

Updated the Readme to explain the new feature.

Also renamed 'page_to_json' to 'project_to_json' because that's what it
does.