Quote action strings before passing to registry

If an id contains a space it needs to be quoted when making a
request to registry.

Fixes bug 1111948

Change-Id: Ic2250cdcf58d439f344d42e2f59577884343cd19
Merge "Quote action strings before passing to registry"
Add migration 16 - create the image_locations table

This migration simply creates the new image_locations table. It does
not yet use the table for anything.

Related to bp multiple-image-locations

Change-Id: I1536c9276bc807aac26849e37556b465e8b5c9eb
Add migration 17 - move image location data

Migration 17 moves image location data from images.location to
the new image_locations table. The sqlalchemy db driver has been
updated to look at this new table, but the complexity of multiple
locations is not yet exposed to the reset of the system.

Related to bp multiple-image-locations

Change-Id: I6c4c684f522d9b41b9930e7f79a4e6fb3e3f5c39
tmp

Change-Id: Ia8698c912784c7c3f5d3d4182ccb2e354eb14012