Add RBD support with the location option

Currently only 's3', 'swift', 'http' are supported
with the --location option of glance client.

Change-Id: I8300314cf246d7ad42c2353d4c122c4ff2b831f7
Fixes: bug #1176994
Merge "Add RBD support with the location option"