Command line uses api.js.

Refactor NodeCompiler into own file.
Rename compile-single-file -> compileAllJsFilesInDir.

Replace q-io -> glob to avoid global function overrides
This comment is out of date