Py3-compatible get_version in setup.py.

Python 3.2 compatible version (fixes #11).

Needed to add a small tool for making doctests behave nicely both with 2.6 and 3.2.