Clean up zombie processes on backup failure

Ensure that a SIGTERM is sent to the session leader of the process
group, so that all backup processes are terminated in case of a
FAILURE. This ensures that no zombie processes are left behind.

Closes bug 1253850

Change-Id: I4bd53c37923f83abe4c51deb95d740656ab21979
setting fake mode to print startup errors

Change-Id: I55a2e547ffaa02621093af8d9c7d0a48714fb6be
db: make compatible with SQLAlchemy 0.8

Argument assert_unicode is deprecated in SQLAlchemy 0.7.
Also it is removed from SQLAlchemy 0.8.
Arguments convert_unicode, unicode_error, and _warn_on_bytestring
seem to cause problems with SQLAlchemy 0.8.

Closes-bug: 1235829

Change-Id: I713dd446756398805404400d05b1d0927601dd97
Fixed misspellings of common words

Fixed misspelling of common words found by the 'misspellings' tool.

Closes-Bug: #1257531
Change-Id: If317929be260c5efb0949921be1143d1ccd4e283
Conductor Does Not Default to Verbose/Debug Logs

updates sample trove-conductor.conf to set verbose and debug to True

Change-Id: I92864e5d1db85e9e519719ec7c3fdcba195d69b9
Closes-Bug: #1257583
Updates tox.ini to remove suppressed H401.

Updates the code files containing H401 bug.

Change-Id: Ib0511a9447aa676cef3af7cdfcd9fd92748283b7
Closes-Bug: #1257294
Added ability to pass custom command-line options to backup runner

Added a new DictOpt field "backup_runner_options" to the trove config
Custom command-line options for the backup runner can be passed in
through this

Closes-Bug: 1253849

Change-Id: I2ea45aa4899da4126776ef14a9cb2f0328a9e544
Unittest Case for get_user

Unit Test Case for Mysql get_user attribute written in
trove/trove/guestagent/manager/mysql_service.py

Change-Id: I276346d354c7238097d375e3a6865e72af77b060
Implements: blueprint getuser-unittest
Merge "Added ability to pass custom command-line options to backup runner"
Merge "Clean up zombie processes on backup failure"
Merge "setting fake mode to print startup errors"
Extract suffix from req URL to avoid escaping dots

Usernames and their hosts can contain dots. As such,
user CRUD requests may end in ids that contain one
or more fullstops. Our request router can interpret
these as file suffixes and our methods and as a
result, truncates these ids improperly.

This change inspects the request object in these
cases, looks for a possibly misinterpreted suffix,
and reattaches the suffix to the id. This means
that escaping . in requests shouldn't be necessary.

Closes-Bug: #1252327

Change-Id: I74c4d6694baba44ebe0018eedac2ae5c4773b370
Merge "Unittest Case for get_user"
Removing IDE specific ignores

Reasons
- .gitignore contains IDE specific ignores
- IDE specific ignores should be setup using
  global gitignore on local box.
  for eg. create a .gitignore locally and use ...
  git config --global core.excludesfile .gitignore

Changes
- Removed .idea generated by IntelliJ.
- Removed .DS_Store generated by Mac OS.
- Removed .project generated by Eclipse.
- Removed .pydevproject generated by PyDev.
- Removed atlassian-ide-plugin.xml
  generated by Atlassian IDE.

Change-Id: I902e980834716edb8a30ca58df520fd3fc0f73aa
Closes-Bug: #1257279
Update tox.ini to use new features

Reasons:
 - tox update v1.6
Changes:
 - tox 1.6 allows us to skip the sdist step, which is slow.
 - It also allows us to override the install line. In this case, it's
   important as it allows us to stop getting pre-release software we
   weren't asking for.

Original patch by Monty Taylor, talked about here:
http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html

Change-Id: Ief0a44a8d982a12ff5158c1223487d27b75b950e
Replace "tokenauth" by "authtoken" in configuration files

This is the standard word used by all other projects.

Change-Id: Ibd52056bd1214f5fd7b2f2fd315086542d34fd0c
Closes-Bug: 1234314
Fixed PEP8/flake8 issues

We need to fix PEP8/flake8 issues corresponding to the new
hacking rules that got added before we can update to the
new global requirements.

Change-Id: Iff995139d258549ff9a8e3e5018e964efa2ab152
Updated from global requirements

Change-Id: I53a67cd02cb0d4a3cb118b95d9826c82eafd3fbc
Fixed typos in files in trove/guestagent.

Fixed misspelled words/sentences in these files.

Change-Id: I948d9a61a7f3b0accd7aa9d07c8f9bfdc0b92fb6
Closes-Bug: #1258761
use_stderr should be False for tox tests

Reverting the change to the trove.test.conf so that the tox tests are
not so verbose with all the logging when running through the tests. It
makes it very difficult to find out what failed and where without much
groking of the output.

This was a change i made so that when you do a './redstack start-fake'
it would show the logs in the screen session. But this turned out to be
a bad idea when running in tox.

Change-Id: I236b2de2e89e49fd937d917d2955fddb5fb35d6f