PyPy fixes, and probably some reference issues for CPython too.

Derived from a patch at https://bitbucket.org/pypy/compatibility/wiki/edit/mysql-python
Tell Travis to start testing PyPy as well.
Fix some broken types module references.
Version bump
Version bump