Cache host CN in other_config

Cache the host common name to other_config to avoid having to make expensive XAPI plugin calls on each host get call.

Also including a patch for checking for null refs before calling out to XAPI (which can be returned for valid reasons sometimes). This too is targeted at improving enumeration performance.