core, restapi: Missing domain field on VM\Template object

BE is not returning VmInit for the collection of VM and Templates (since
it use the search query).
Added a GetVmsInitQuery to set the VmInit for Templates and VMs
collections.

Bug-Url: https://bugzilla.redhat.com/1069201
Change-Id: Icf43cb1a0d25d89ef68f21bc47b82c2cd6fdf19d
Signed-off-by: Shahar Havivi <shaharh@redhat.com>