minor: lint, clarity (use if not ternary)
minor- rename param to reflect type (it's not a "str")
add unit tests for build/writer.js
add unit tests for build/shared.js (wip)
complete tests for build/shared.js
add unit tests for build/scraper.js
add unit tests for build/html5app.js
add unit tests for build/hybridapp.js
don't rely on cb's process.exit(-1) for flow control
add unit tests for build/index.js wip
replace leftover die(msg) with cb(msg, null, true)
refresh mocks & rm redunce set/reset; add rmrf err test
Added asterisks, alphabetized app file/dirs, added 'routes.json'.
Merge pull request #894 from isao/tests

unit tests for build/*.js