Add same error handling in callbacks as other i2c adaptors.
Added new validation for callback in i2cWrite, updated tests.
Merge pull request #21 from hybridgroup/upd-i2c-read

Add same error handling in callbacks as other i2c adaptors.