Python 3 compatibility, at least with syntax and builtins.

Adds our very first dependency, on `six`.
Test suite passes (as well as it did before) on Py3!