Backport OpenStack API conventions in openstack-swift

Backport PR #103 into the 1.7.x branch