Initial stab at writing docs

Used sphinx so the docs could be hosted at Read the Docs.

Closes #41 and #54 .
Is there any reason why anyone would write that code? If there isn't then we probably shouldn't change it just because it happens to work on Python 2.