Initial Sphinx documentation and minor fixes

Fixes to the library version, copyright notices and general documentation improvements.