VMware: use datastore classes get_allowed_datastores/_sub_folder

Convert the above-mentioned functions to use the datastore utility
classes.

partial blueprint vmware-spawn-refactor
Change-Id: I20c37367c8dca1c8dc20a308ce2cea5229097701
Merge "VMware: use datastore classes get_allowed_datastores/_sub_folder"