Changed versioning system.

http://stackoverflow.com/a/16084844 Provides a more standard way to
perform versions in Python modules. Also, using __version__ is standard
according to PEP 8 http://legacy.python.org/dev/peps/pep-0008/