Refactor serial functions into SerialConnection
Write specs using hex for compatibility
Merge pull request #4 from mcolyer/refactor

Refactor serial functions into SerialConnection