Pass Message object to webob exception

Provide the Message object within Glance exception to webob exception
instead of try to convert it to a string. Because Message objects could
not be converted by str() since they may contain non-ascii characters.

Related-Bug: #1292782
Related-Id: I22b9123d8b3fe58d7dbd8fcde5a8dd58000e2da4
Related-Id: I352cda57fe119022c59c6c813b5c8053765b2d3c

Change-Id: I43fc0e13496cbaf8a7afe85d649709ec7fe8ebe9
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Adding status field to image location -- domain and APIs changes

Adding a status field to image's each location property, each location
status can be 'active', 'pending_delete' and 'deleted'.

Under location's status information Scrubber service can make cleanup
based on DB records also but not a dedicated queue-file for each image.

This is second part of this change which covered DB API, domain and REST
API.

Partially-Implements BP: image-location-status

Change-Id: I744679e2dadbaec099aef33d8c5a3fe4ecf96865
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Merge "Pass Message object to webob exception"
Merge "Adding status field to image location -- domain and APIs changes"