[js] initial implementation of object emitter behavior
[js] remove wrong static modifier
[js] add 'listeners' method for fetching array of listeners
[js] test no existing listeners
[js] test Array.indexOf() start index
[js] typed_arrays: a few more test cases for subarray()
[js] enhance fs tests
[js] more fs tests enhancements
[js] test invalid args on 'require()'
[fs] bugfix: invalid free on error case
[js] add serial_test.js
[js] trailing comma in array should not be regarded as an undefined member
[js] support removal of all emitted events on an object by placing all event listeners under a common root
[js] when listeners are removed, we currently have a dangling key left, so re-create an array on event re-assignment
Merge branch 'master' into coverity_scan