fixes #3178 - add ability to apply a virtual hardware template at hostgroup level
fixes #3178 - API v2 - add hardware profile to host and hostgroups response and create new VM using hardware profile attributes