update read function

Updated read function to pay attention to the CRC and seek a little
smarter.  Closes #4 and Closes #1
add dblogger.py

Added dblogger.py.  It keeps a state of the registers, and logs them to
the DB if they change.