Remove the exposing of java Buffer and RecordParser by provide js objects

* Rework Buffer to be a real js object and so remove methods which make no sense in JS
* Create RecordParser object and so hide the java one
refactor some of the sockjs tests
Merge branch 'not_expose_java' of https://github.com/normanmaurer/mod-lang-js into normanmaurer-not_expose_java
Allow strings to be written to a WriteStream. +JSHint
Move test_utils to the main source tree so it is included in the module.
Change parse tools data handler to accept a buffer.