In Py3 decode the output of base64.decode

The return from a base64.encode in python 3 is bytes. Bytes cannot be
json.dumps() so when we base64 encode some data we need to convert it
to a string before passing it through to the request layer.

This isn't shown by unit tests because the fakeclient mocking layer
intercepts the request before it gets to the json encoding code.

Closes-Bug: #1323450
Change-Id: Ibbbb24f64c17069178e3bf0ee9998b806bc629ff
Revert "Remove quota-class subcommand"

This reverts commit 7c11b06bd4e896d891ed3f50c6480bd76a1023bf.

The quota_class subcommand was used to set default quota values
so it shouldn't have been removed.

Related mailing list thread on the topic:
http://lists.openstack.org/pipermail/openstack-dev/2014-May/035383.html

Change-Id: I8f392f8e54bef52c1c950f75377e6bb93a41996d
Partial-Bug: #1299517
Removed now unnecesary workaround for PyPy

Change-Id: Id23fdf62352a1575653d2277f7b87d371b0480c8
Merge "Removed now unnecesary workaround for PyPy"
Merge "In Py3 decode the output of base64.decode"
Merge "Revert "Remove quota-class subcommand""