Move utility functions in lib/utils.js
Improve the js parser in cases the buffer is incomplete
Rename lib/parser to lib/parsers
Fix smaller issues with test suite and fix parser errors not being catched
Fixed wrong test for the new .end flush parameter
Fixed test suite options being partly mutated
Add some more tests