Import trycmd and ssh_execute from nova.

This change required adding basic unit tests as well as these were
both untested in nova.

Change-Id: If6843e57810198aab3c61f9eb3c3a6f42f710f7c
Adds timeutils and uuidutils maintainer

Change-Id: I233de16bed565bbe37950503e8b62890f9b4c1d1
Convert unicode strings for python3 portability

From http://docs.python.org/3.1/whatsnew/3.0.html

You can no longer use u"..." literals for Unicode text.
However, you must use b"..." literals for binary data. Use
python-six to make this migration easier.

Change-Id: I95166a07f4edf33be55a4bdf2674c2f238a06f19
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Added convenience APIs for lockutils

The lock_file_prefix for each project doesn't need to be configurable or
frequently changed. This patch provides a convenience API which returns
a partial object of the synchronized decorator to avoid passing the prefix
each time locks are used.

The set_defaults method is also provided to change the default value of
lock_path when needed.

Fixes bug #1065524

Change-Id: I7b67f0a482da4be6d53a70db5bbd22dc91bdc10c
Stylistic improvements from quantum-rootwrap

As part of the convergence effort between oslo-rootwrap and
quantum-rootwrap, import stylistic improvements introduced
in quantum-rootwrap, like:

- HACKING-compliant docstrings
- More elegant return construct from match_filter in filters.py
- Remove overridden use of filters in wrapper.py

Change-Id: I49a97271b1c385feb25adf4f62add5c71962b5dd
Merge "Import trycmd and ssh_execute from nova."
Merge "Adds timeutils and uuidutils maintainer"
Merge "Stylistic improvements from quantum-rootwrap"
Merge "Convert unicode strings for python3 portability"
Merge "Added convenience APIs for lockutils"