Update sphinx documentation

* Split up the documentation of scripts and the python API.
* Add documentation for mwversionsinuse.
* Set some global configuration for the autodoc module.

Change-Id: I455d9cc75fd0fd5d015b13fe39ced92d0e1fa228