Tortoise: put compat stuff in separate source file

for Rhino vs. non-Rhino compatibility, compat.coffee
Tortoise: first pass at generating JSON as we go

no test coverage yet, that should be along soon

also adds json2.js to build (pulled down by sbt from CCL server) so we
can use JSON.stringify in Rhino