Avoid raising index error when no host

Strings like 'http://' are not correctly parsing
due to an index error raised when the first element
of the address is parsed (which is empty). Avoid this
by first checking if the address is non-empty before
doing work on it.

Change-Id: Ic50c9b31083dea82d068423f6809ec13c85da00a
remove default=None for config options

In the cfg module default=None is set as the default value.

Change-Id: Ibb67da3b01c933b0789fd81f0b8a74e9aa30dd5a
Closes-Bug: #1323975
Implement stop method in ProcessLauncher

This implements a stop call in ProcessLauncher which will stop respawn
loops and terminate children.

Change-Id: I13d03b2007f1b53387945b74f70f676734ad8167
Closes-Bug: #1311306
Use moxstubout and mockpatch from oslotest

Modules moxstubout and mockpatch from openstack/common/fixture/
are obsolete, so we should use them from oslotest library.

Also oslotest depends on mock and mox, so we no longer need
to specify them directly in test-requirements files

Change-Id: I139133457cd73ee83537dead3446ee30d0ee5589
Add source code generation to conf.py

The sourcecode index was not generated previously for oslo-incubator.
This patch adds the code snippet, which generates autoindex for the
docstrings in each of the source files i nthe openstack folder. The
code snippet is based on the one that is used for Ceilometer.

The index.rst is modified to contain the correct autoindex reference.

The tox.ini was also updated with a 'docs' section.

Change-Id: I0afe2712246e4735e9ad97dd4bc2f98cd7d85613
Merge "Implement stop method in ProcessLauncher"
Merge "Use moxstubout and mockpatch from oslotest"
Merge "Avoid raising index error when no host"
Merge "remove default=None for config options"