Add Python 3.2 support

`__package__` is not set in python 3.2 (A valid behavior).  Instead
of using the code in `tests/__init__.py`, we'll just dogfood our compat
module.