dynamodb module: add backward-compatible support for Python 3.3+
fix unittest import, skip lossy_float_conversion for python 3.x, and fix bytes
fix one missing bytes()
Merge pull request #2441 from felixonmars/dynamodb-py3

dynamodb module: add backward-compatible support for Python 3.3+. Fixes #2441.