Set __version__ in the lib

Attempt to respect [PEP 8](https://www.python.org/dev/peps/pep-0008/#version-bookkeeping) and [386](https://www.python.org/dev/peps/pep-0386/) to provide version tracking inside the library.