Massive refactoring to the troveclient

The new client adheres to the standards of the other clients
now. It prints out tables, uses ENVVAR's for auth, no longer
stores pickled json in a login token, uses openstack common,
and moves the cli operations into a v1 module for the future
of trove when it has a v2 api.

Please note for compatibility, the troveclient.compat module
has the old cli. In order to deploy it, amend the setup.cfg
to include the compat module.

implements blueprint cli-compliance-upgrade

Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
Tweak pbr conf

Mainly, remove the pin in setup.py and remove the hook entry in
setup.cfg. Update from requirements while we're at it.

Change-Id: I34a05229b9ea0bdfd99dc16d09713c9494c1cb78
Add support for a service type env var

Rackspace is currently setting their service types to weird things.
Support them, because we love special snowflakes.

Change-Id: I1519be00a3086945338a953bc2a1e7a4e0e65400
Enable shell to resize and restart

By prepending "do_" to corresponding functions.

Change-Id: I1a22527ab36b636eb3e6364e669a3d64154beca5
Correct handling args.backup in do_create

We have to use args.backup, not self.backup.

Change-Id: I1f3c892cd4e9c1a42586bdd34d5239cb90c9af74
Fixed bug with showing backups

Pass on cs to _find_backup and use correct return variable.

Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10
Merge "Correct handling args.backup in do_create"
Merge "Fixed bug with showing backups"
Removing lxml/httplib2 depends

These depends are compat only. They dont need to be listed as deps.

Change-Id: Ia5718865100148d149e9c7657ace78cb08cacbac
Fixing the backwards verb/noun cli names

The cli names were backwards. instead of backup-list, list-backups
was the name. They have been reordered to match the other openstack
clients. Also added a better readme.

Change-Id: I280f637bfa7bbeaf55c70115339f430dbb279152
Fixes README and shell

Change-Id: I2beec621fce4c8c8eb90631b2e543962f31687de
Closes-Bug: #1238183
Fixed minor typos with trove-client help info

Fixed typos and cleaned up unnecessary imports.

Fixes bug 1238325

Change-Id: I7b2379cecb89e9f58cde9b2b68bddee41aefcfa3
Removed underscores from the end of some variables

Change-Id: Iff664cef5ec580de6a33db1503a6e567701418a3
change mode to octal for os.makedirs()

Partial implements: blueprint py33-support

Change-Id: I7a4307dfd526821e96b5c04ff636e650f20b753a
Sync up exceptions.py from oslo

oslo change:
I169b13546bcd0d87353dbca5a9b64229b704fe66

Define _code_map in an expression.

Partial implements: blueprint py33-support

Change-Id: I4b9f5bc083ebe62739a33674d26728d4a8f1a2d6
Fix unicode issue

In Python 3, all string is unicode.
Replace unicode() with six.u()
Make use of strutils.to_slug() for slugify() definition

Partial implements: blueprint py33-support

Change-Id: I6a1e19c095a2fbafcbe47b34c7af17e1b0353b9e
Add --bypass-url option to trove client

Change-Id: Ie0596f2dd302eec293f3a5ab3306d56fb0fdcdb8
Closes-Bug: #1240285
Fixing copyright and license headers

* Added HP copyrights as appropriate

Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
Import exceptions module from openstack-common

Partial implements: blueprint py33-support

Change-Id: I5ee3e85e1adf76779831beeb0a91591d342c798d
Import urlutils module from openstack-common

urlutils defines a series of urllib/urlparse modules for Python 2&3
compatability.

Partial implements: blueprint py33-support

Change-Id: I55c2c5d479d2f7a86d3a0c207dc40794006d951c