Fix packaging versioning.

The previous introduction of the ``__version__`` attribute was a good
idea; however, it cannot be blindly imported in either *setup.py*
since the package requires that *mock* exist.  This caused the previous
version to fail to install from a source dist.
Merge branch 'hotfix/fix-setup'