better support for analysis2

* Properly handle --copy_runtime flag in instrument.js
* Add ChainedanAnalyses2 by default in API