expose get_volume_api_from_url

This is used in nova as well and should be shared.

Change-Id: I1bb41bf24efed003a6181e5ba1266ed2a008cf7c