Sphinx docs

This is probably good enough for a first version — ie. it beats the current README.