virttest.defaults: Use autotest new distro API

Now that we have autotest 0.16 in EPEL, we can safely
use autotest.client.shared.distro. This means no more
horrible hacks have to be used to determine the appropriate
guest OS to use.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1643 from autotest/travis-pep8

Travis PEP8
Merge pull request #1640 from autotest/use-newer-autotest-api

virttest.defaults: Use autotest new distro API
.travis.yml: Add sphinx docbuild test

Build our documentation and see if it doesn't generate
errors or warnings. This will help people to keep the
docstrings and documentation honest.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
documentation.api: Remove rst files for auto generation

Rather than having to manually update that directory, we
will auto generate the API documentation skeleton upon
every build.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
documentation/source/conf.py: Add auto build of virt test API docs

Instead of manually updating the API rst files upon
new module additions, auto generate the .rst files
through a trick on conf.py.

With this we have reduced maintenance and always
up to date API docs.

The virt-test implementation has to be simpler than
other projects because we don't have autotest installed
in the read the doc boxes.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.env_process: Docstring fix

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
documentation/source/conf.py: Optionally use the read the docs theme

If available, use the read the docs theme to build
the documentation.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>