Command line uses api.js.

Refactor NodeCompiler into own file.
Rename compile-single-file -> compileAllJsFilesInDir.

Replace q-io -> glob to avoid global function overrides

Review URL: https://github.com/google/traceur-compiler/pull/1113

Closes #1113.