Fixes various import issues and README accuracy

Unfortunately the version on PyPI is impossible to import. This fixes various packaging problems and updates the README to provide working examples. Also includes a few tests to demonstrate the README examples.

Bumps version number to 0.1.2.

Thanks for the useful library!