Allow for running tests via testr.

Some projects in openstack are using nose,
some are using testr so attempt to select
the command used by first checking an option
that the component may have set. If that is
not set then attempt to see if the testr
configuration files exists, otherwise select
nose as the backup.

Change-Id: I8e06235f54dded11093d747f161dc4f95b7f6cba
Allow ignoring test failures from the CLI.

It appears that some tests that now run do
not always work correctly, so instead of
stopping immediatly allow users to ignore
failures (so that all tests will run) via
a CLI option.

Change-Id: I08b6f436ed6fb5b117ae039c205245c7c23e18f4
Use the same template for service commands.

Instead of using a custom template language for
the service commands just use the already existing
and used templating style that we are using elsewhere
that takes advantage of the cheetah library to do the
templates.

Change-Id: Ib9720e3f31a48e01c6114e6d57e1e3a27320a638
Enable the status details for services.

Previously when the following occured:

sudo ./smithy -a status -s 1K

The output would show a segment of the log
file of the service that is running, after
the transition to services (instead of stdout,
and stderr files) for the component binaries
this feature was lost, but now that logs are
in a set of known places we can put it back in.

Change-Id: I85307065197d479261495ff77af5d6e7c15a77a8
Add comment for cfg_dir/bin_dir.

Change-Id: If5bb24f9e4bbb1028a19e53c5702d0b787565508
Make the qpid create/delete user use templates.

Instead of automatically appending on the
user name to the command to be executed
just use a template (which matches how
we are doing this elsewhere) and untemplatize
the command to be ran instead.

Change-Id: I63008f27874f22bc9ce6d90eebe6fc7fc4cd9237
Merge "Allow for running tests via testr."
Merge "Allow ignoring test failures from the CLI."
Use term.io links instead for examples.

The examples are much more neat to watch
if they are interactive which term.io can
do, so move the examples (except testing which
puts out to much information).

Change-Id: I3e121e4bc1e1dc0fbfba21bf98fdc0f647f9ccd6
Allow running testr in parallel

Instead of always enforcing testr
to run in a single process enable
the more efficent parallel version
by default instead.

Change-Id: Ide288c41356018c99b44a7d3dffd9612ed0d7fbf
Merge "Use term.io links instead for examples."
Merge "Make the qpid create/delete user use templates."
Merge "Use the same template for service commands."
Merge "Add comment for cfg_dir/bin_dir."
Merge "Allow running testr in parallel"
Merge "Enable the status details for services."