Add browserify runtime export

Fixes #668
Use env.VM to lookup runtime methods

Allows for overrides by 3rd parties

Fixes #679
Add JavascriptCompiler public API tests
Expose compilerInfo and checkRevision as APIs

Fixes #656