Support --os-auth-token.

Fixed bug #1130286.

Change-Id: Ia0a8884f2738c31c3d91d6679622ebd3ec9b86b5
Add resources and meters to the v2 shell

This also moves the build_url function to a common file.

Change-Id: Ia94f9fa37c83fc756a395a918ad254111951f67b
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Merge "Support --os-auth-token."
Merge "Add resources and meters to the v2 shell"