Speed up lexer by using local input variable.
Expose submodules in a browserify-compatible way.

Closes #14.
Make individual tests report in TAP format.
Add Testling configuration.