Documentation

To do before merge:

* [ ] decide on documentation format (split into multiple files?)
* [ ] handle version/release numbering in an automated fashion (in conf.py)
* [ ] link to docs from README
* [ ] add module index?