Convert docs from markdown to reStructuredText with Sphinx. Close #260. Fix bug 983834.

Add sphinx-common to VM provisioning for building Sphinx docs. Run `make clean html` inside `docs` to build.