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
Fix JSON In Output for Configuration Groups

the configuration-group values will now correctly show as json
before: {'key': True}, after:  {"key": true}

Change-Id: I824c73e96da8e7ec52fc020db8f22e7e8d7b7d18
Closes-Bug: #1290200
Get rid of XML related trove client bindings

We will no longer support XML for the trove API; it behooves us to
remove XML related code, and clean up the trove client.

Partially implements bp: destroy-xml-api
Change-Id: I58f95e81f3e4bc4bad277ff2a48abfced2b48199
Merge "Fix JSON In Output for Configuration Groups"
Fix build_sphinx setup target

Change-Id: I070e5d6eaa31be360608a4d03598ccabc0dce602
Closes-Bug: #1297496
Fix database-list via CLI for large # of dbs

When an instance contains more than 20 databases, only the last n-20 were being
shown when trove database-list was run. The do_database_list method wasn't
correctly tracking the output when multiple pages were present.

Change-Id: I349534735b4118f3cdd4897c36bb17c0a1fdceb1
Closes-Bug: #1246599
Merge "Get rid of XML related trove client bindings"
Merge "Fix database-list via CLI for large # of dbs"
Fix create call for security group rules

Reasons:
 - The security group rule create call was expecting
   from_port, to_port, and protocol as arguments, but
   the Trove API was ignoring these since it picks these
   up from the respective datastore confs.

Changes:
 - Removing the extra arguments from the security-group-rule
   create command:
   - from_port
   - to_port
   - protocol

Note that even though the user was able to specify the ports
for the rule these were _never_ being honored since these
were being picked up from the respective config files.

Usage before change:
 - trove secgroup-add-rule <security_group> <protocol>
                           <from_port> <to_port> <cidr>

Usage after change:
 - trove secgroup-add-rule <security_group> <cidr>

Change-Id: Ic1440f735b6cf2b8b4f29c5ab9f48bcb427ca9e6
Closes-Bug: #1298749
Merge "Fix create call for security group rules"
Merge "Fix build_sphinx setup target"
Fixing the compat client create call

"configuration_ref" needs to be "configuration".

Closes-Bug: #1306696
Change-Id: I080de3d4f39e3f0dc34e173e7565b26077b17092
Correct mis-spelling in trove CLI help

trove help backup-create misspelled "perform" as "preform"

Change-Id: I2d08046fd4acbd0fa74e2548798f4e87e0c8b329
Closes-Bug: #1306687
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"