Fixes #6756 - exposes vmware resource pools and folders through the API

This lets users get a list of resource pools and folders through the v2 API.