Add API to get the entity inventory path

This new API provides the inventory path for a given entity reference.
Currently, the Nova transfer of images feature fails if the datacenter
is located in folders. This API has to be called prior to any HTTP
access to datastores.

Change-Id: I14066601816584689fb955927496d250ed825dc2
Merge "Add API to get the entity inventory path"