Add __version__ attribute

Closes gh-1