[DO NOT MERGE] fixes #3178 - add ability to apply a virtual hardware template at hostgroup level