Add jscs, jsbeautifier tasks. Run jsbeautifier on examples/
Cleanup EventEmitter module usage
Optionally set sampling interval via constructor options. Closes gh-58

@monteslu originally proposed this here: https://github.com/jgautier/firmata/pull/58. I decided to re-write because I wanted to split the changes into two different patches and include tests for both.
Turn on reporting only when explicitly necessary. Fixes gh-58