move config loading to config.js
move formatting to format.js
expose format through index.js
use new config and format in run.js
remove unused import
add basic format test
run test.js through jsfmt
add missing semi-colon
Merge pull request #32 from brettlangdon/format_api

expose format and config through api
Merge remote-tracking branch 'upstream/master'