Sphinx documentation

- translated all docstrings from Markdown to ReST
- added trivial documentation configuration