CA-125488, CA-212616: Generate get-class cmdlets only for classes that have get_all_records.
CA-125488, CA-212616: Generate get-class cmdlets only for classes that have get_all_records.

Re-fix for this issue, as the original fix caused CA-212616 (empty cmdlets) as
well as a regression on Get-XenMessage.

Signed-off-by: Konstantina Chremmou <a7d1f757a659045fb6db8c1e3849a1c8ad00b97a@citrix.com>

xapi-project/xen-api-sdk,xapi-project/xen-api-sdk,kc284/xen-api-sdk,xapi-project/xen-api-sdk,xapi-project/xen-api-sdk,kc284/xen-api-sdk,kc284/xen-api-sdk,xapi-project/xen-api-sdk,xapi-project/xen-api-sdk,kc284/xen-api-sdk,kc284/xen-api-sdk,kc284/xen-api-sdk