dynamodb2 module: add backward-compatible support for Python 3.3+

* [x] Make test pass
* [x] Reorganize binary/string type