Changes to formating of output AND side-effect tests.

Changes to formatting of output:
1) Implement writer that calls util.inspect with {depth: null}.
2) If result doesn't have toJSONSync but does have toStringSync,
use toString to render the result. (This for java collection classes).

Also implemented gremlindocs-side-effects tests.
Comment out unused definition of mySideEffect as workaround for node v0.11.

The Travis build failed for node v0.11 in this unit test,
apparently because the REPL behavior for continuation lines changed.
Since the code is no longer used I decided to simply comment it out
(along with the related code that would use it).
Another concession to change in REPL behavior in node v0.11
Hack to reduce chance of race condition after async end to pipeline.

The specific test failed a couple times with node v0.11 even though
I had never seen it fail with v0.10. But v0.11 is correct, since
I knew I was taking my chances with the async end to the pipeline.
This hack isn't guaranteed to give a deterministic result but it
should reduce the probability of failure to something acceptably
infitesimal.
Merge pull request #5 from jimlloyd/feature/gremlindocs-side-effect-tests

Feature/gremlindocs side effect tests