py33: unify the input of request to json format

In novaclient.client.HTTPClient.request, json.dumps() process the
body of "POST":
kwargs['data'] = json.dumps(kwargs['body'])

So, in test case, we should pass the same forat for mock.call().

Also, transform the "data" variable to json format.

Close-Bug #1234067

Change-Id: I3a0abaa8064b4360cb94b7b205454e26bddef8e4
py33: sort hosts while treeize AvailabilityZone

In Python 3.3, hash randomization is enabled by default. It causes the
iteration order of dicts and sets to be unpredictable and differ across
Python runs.

sort the hosts while treeize AvailabiltyZone.

Test cmd
--------
for i in {1..100}; do echo $i; \
tox -e py33 |grep test_detail_availability_zone; done

Change-Id: I9ab25ef52d6d19b45a39f04cbcde864ee225b4cc
Close-Bug: #1235067
Merge "py33: unify the input of request to json format"
Merge "py33: sort hosts while treeize AvailabilityZone"