Add documentation

I think Sphinx documentation hosted on readthedocs.org would be suitable for this project.

If there's agreement about this idea, I may create a documentation branch and turn this issue into a pull request.