Remove dependent module py3kcompat

Module py3kcompat was removed from oslo-incubator, we can use
six directly.

* Sync commit of removing py3kcompat from oslo
* use six replace usage of py3kcompat

Change-Id: I15b9ffb10e2d5765a1ed07dd5fd4e2bf7b21ec49
Closes-Bug: #1280033
Fixes trove create output

Reasons:
- When using trove create, the output for create instance shows all
  unwanted information as described in bug, like flavor details
  and datastore as a dict.

Changes:
- Moved the configuration attribute setting to top before setting up
  any other attribute.

Change-Id: I5d508f5ee3937097086f08bbfad3642f7d63f288
Closes-Bug: #1282338
Fixing the compat client create call

"configuration_ref" needs to be "configuration".

Closes-Bug: #1306696
Change-Id: I080de3d4f39e3f0dc34e173e7565b26077b17092
Updated from global requirements

Change-Id: I7214f89c5bd7a236f068c8279d76aa23fc4a8d44
Changed Trove CLI list headers to match Nova CLI

Added ability to pass in header labels to print_list.
If not passed in, header lables are automatically created
from the fields by replacing '_' with spaces and capitalizing
each word.  IDs are also capitalized.  All field data is
now left-aligned, except numerics which are right-aligned.

Also changed print_dict so that all values are left-aligned.

Change-Id: I3b69dc7f92c496594cf37832f4ff98f1abdf52dd
Closes-Bug: #1272700
Merge "Fixing the compat client create call"
Merge "Updated from global requirements"
Merge "Fixes trove create output"
Merge "Remove dependent module py3kcompat"
Remove Duplicate ClientExceptions and Merge

horizon handles troveclient.ClientException as a recoverable error,
with troveclient defined via "from troveclient import exceptions
as troveclient". this patch imports oslo's apiclient exceptions
in troveclient/exceptions.py to ensure all ClientExceptions are
considered recoverable. also removes unused exceptions that were
unnecessarily ported from the compat version of the client. this
fix is necessary to avoid seeing the generic error message of
"Error: There was an error submitting the form. Please try again."
in horizon vs. the explicit error message.

Change-Id: I94c8ec0289821ccd365d6689488a3e25877c1560
Closes-Bug: #1292033
Make port-id and net-id keys mutually exclusive

These keys are never used together, and port-id always takes precedence
in Nova API when present. This patch makes these parameters mutually
exclusive and updates help strings accordingly.

Change-Id: I61170291468757b47b043bd81f022704dd38e3d0
Closes-Bug: #1314097
Updated from global requirements

Change-Id: I2572892bed0e9f568838babb8ad82e8185afc154
Merge "Make port-id and net-id keys mutually exclusive"
Fix building of documentation

Now both the standard command "python setup.py build_sphinx" and
"tox -e docs" will build the documentation.

The changes:
* tox.ini: Fix docs section: Remove unneeded deps line, the general
  deps line is just fine. Enable the command, clean up before running
  sphinx and use the normal command for execution.
* pydocs.rst: This throw an error while building since
  troveclient.client.Dbaas does not exist, replace it.
* index.rst: Generate table of content. No need to include the files.

Change-Id: I2095ef73a76b0212e33776af925f5eaf1810be7a
Partial-Bug: #1315101
Correct grammar in trove CLI help

Fixed grammar errors such as 'a instance' and 'the instance' to be
'an instance.'

Change-Id: I43eb9562c5290d23a0def31249d6c7aefd5dc593
Closes-Bug: #1316307
Fix trove CLI help UUID references

Changed all 'UUID' references in the CLI help to 'ID' to be
consistent with list/show commands.

Change-Id: I0284aaec71d31fd2d3fa277bba7d7e314127bfe3
Closes-Bug: #1316270
Fix trove help for datastore-version-list and -show

Added 'name' to the help for the CLI commands
datastore-version-list and datastore-version-show

Change-Id: I28be2d50ccaca6a2d19a8d0e74e831e6a8ed8238
Closes-Bug: #1316630
Merge "Remove Duplicate ClientExceptions and Merge"
Merge "Correct grammar in trove CLI help"
Allow users the ability to update the instance name

Implements: blueprint update-instance-name

This review provides the user the ability to update the instance
name or/and configuration using the trove client.

Change-Id: If404d4d47c83ca36d7a08ed2a8f1f8dddb7ed677