Copy over tojson functions from mongo shell source.
Use tojson to print all objects.
Test pretty printing long inputs.
Remove comment.
Merge pull request #223 from FuegoFro/tojson_unification

Consolidate formatting of objects to be more consistent and allow pretty printing.