Unit tests

You already had mocha and chai installed so I used them, and added sinon for mocking. This doesn't test any of the core of serialport but it's a start.

- Add unit tests for the raw and readline parsers
- Add travis to run our unit tests.