Stop sphero when program closed or connection closed
Refactor disconnect
refactor timeout with write event
Updating driver tests
fixing tests
Removes unnecessary data event and no longer use locator event.
Make test pass and remove no longer needed test for detectLocator.
Fix typo in folder and example name.
Merge pull request #36 from hybridgroup/stop-sphero

Stop sphero on disconnect
Merge pull request #37 from hybridgroup/remove-locator-data-event

Removes unnecessary data event and no longer use locator event.
add coverage report
Merge pull request #38 from hybridgroup/416-add-coverage-report

add coverage report
Update commands to match new Driver format
Update .travis.yml
Merge pull request #39 from hybridgroup/update/commands

Update commands to match new Driver format
Fixes #40
Merge pull request #41 from chrisfp/dev

Fixes #40
Update adaptor.js
Fixes quaternion access

Building mask/mask2 via ^ (XOR) throws an error "value out of bounds" in this.sphero.setDataStreaming() when accessing "quaternion" (wich means DATA_SOURCES2 = ["0xF0000000", ...]). 

Reason: After adding DATA_SOURCES2 with ["0xF0000000", ...] (a leading f) to a mask, JS is interpreting the mask as a negative number, wich causes the bug in this.sphero.setDataStreaming(), when it calls packet.DATA.writeUInt32BE(mask2, 9).
Merge pull request #42 from chrisfp/dev

Fix quaternion access