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
Move parsers to their own file because they don't rely on anything else.
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
don't modify process.platform in tests as it's going to be read only
Change from rewire to sandboxed-module and properly set the platform for tests.
convert to NAN for 0.8->0.11+ compatibility
Merge pull request #277 from voodootikigod/move-parsers

Move parsers to their own file because they don't rely on anything else.
Fix SerialPort.list() docs
Fix camel case on serialPort.list docs