Ast serialization

This changes the `esnstrument.instrumentCode()` function to optionally produce serialized ASTs, and enhances `instrumentDir.js` with an option to write serialized ASTs along with instrumented code.