Adding encryption support for image multiple locations

Adding necessary encryption and decryption code to registry API v1
server and client side, in order to take care image's all locations but
single location only.

docImpact
Implement bp: image-location-status
Fixes bug: 1218712

Change-Id: I999426469c196da1094cc46b5237bf1bc2006877
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Merge "Adding encryption support for image multiple locations"