set the read position to null to force reading from the current position
Add a JS disconnect test and mock hardware disconnect command.
Removed a bunch of commented out code that won't be coming back as is. Added in brackets on single line if statements because they rarely stay single line. Clean up some whitespace issues.
Add example to demonstrate drain()
Add Reference Guide to README.md section per Issue #247

Issue #247
Fix undefined duration to calls
Merge pull request #272 from voodootikigod/test-disconnect

Add a JS disconnect test and mock hardware disconnect command.
Merge pull request #273 from voodootikigod/lint-nits

Whitespace and Linter NitPicks
Merge pull request #275 from programmarchy/drain-example

Add example to demonstrate drain()
Merge pull request #274 from programmarchy/patch-1

Add Reference Guide to README.md section per Issue #247
Added some basic close event tests - removed some code around read streams that isn't used anymore
don't set options on a callback open function
Merge pull request #278 from voodootikigod/close-tests

Added some basic close event tests
Merge pull request #279 from voodootikigod/optionalfunctions

don't set options on a callback open function
Merge branch 'master' into voodoo-merge
changed consts to object properties