Add unit test of modbus_read_one_value()

Since we are refactoring the code, we need unit tests to help ensure
that we do not break the code.  This starts by doing some basic sanity
tests on the code that reads a register from a modbus device.
Merge pull request #25 from JamesBremner/unit_test

Add unit test of modbus_read_one_value()