pep8 fixes
remove trailing whitespace
add support for binary types and the tests for it
Merge pull request #168 from emmanueljob/binary_support

Binary support