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
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
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
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
Add -U to pip install command in tox.ini

Ask pip to upgrade packages in the virtualenv so that a long-lived
virtualenv is still kept up to date as external dependencies change.

Change-Id: Ieae9d6f642d8ef93c699d434698c53fc1fa4e3eb
check for invalid hostnames on update_attributes

Adds the hostname validation and username validation to the
update_attributes code for users to prevent bad data getting
into the system and breaking in unexpected places.

Change-Id: Ib501357e45e99945ab972ceed044efc1e2377de5
Closes-Bug: 1235845
Fix mysqldump backup and restore

* Move innobackupex logic out of backupagent
* Re-directing stderr for mysqldump command
* Using sudo for mysqldump restore command

Closes-Bug: 1239408

Change-Id: I0d2b82f2a970f154dfd78671abd323e103758984
Fix deleted_at timestamp in usage tests

* use the mgmt api to look up the instance for the deleted_at time

Closes-Bug: 1236620

Change-Id: I96d46f9f48616124f59efeb1292cfe0768b6318c
Merge "Fix deleted_at timestamp in usage tests"
Merge "Extract suffix from req URL to avoid escaping dots"
Merge "db: make compatible with SQLAlchemy 0.8"
Merge "Updated from global requirements"
Merge "Fixed typos in files in trove/guestagent."
Enabling H403, H702 rules

Reasons
- Currently H403, H702 rules are ignored
- Project has files violating H403, H702 rules.

Changes
- Enables H403, H702 rules.
- Updates the code not following H403, H702 rules.

Change-Id: Ie6f289bf10ee6d6c61feeee0d9905361f236813b
Closes-Bug: #1258592
Updates trove-guestagent.conf.sample

Reason:
- Parameter service_registry_ext has been replaced
  by datastore_registry_ext.
- trove-guestagent.conf.sample contains
  service_registry_ext, should be
  datastore_registry_ext instead.

Changes:
- Updates service_registry_ext to
  datastore_registry_ext in
  trove-guestagent.conf.sample.

Change-Id: I27feb57790011da659f1f2c5e67def08623aa490
Closes-Bug: #1260294
Merge "use_stderr should be False for tox tests"