Fixed syntax errors, prevented serial read from silently timing out in MTDevice.read_msg
import missing functions
Merge pull request #8 from bhitov/master

Fixed syntax errors, prevented serial read from silently timing out in MTDevice.read_msg
Correcting typo
~
Merge upstream