Fix a regression introduced in 0.13.0 and make sure to include
Content-Length 0 with PUT and POST requests. Also add test cases for it.

Part of LIBCLOUD-362.
Fix test failure in Python 3.3 This test relied on the querystring ordering
and didn't always fail. *sigh*
Fix a nasty test case which was failing under 3.3.