core: template can't be seen by user
core: template can't be seen by user

The user_vm_template_permissions_view_base has a bug -
for the case user has permission on data center it returns the vmt_guid
as the entity id - but for templates - vmt_guid is zero guid.
What should be returned is the vm_guid (which is the template id)

Bug-Url: https://bugzilla.redhat.com/921450
Change-Id: I624eb8724da81bbffe0c4db973f67800c2593e3b
Signed-off-by: Yair Zaslavsky <e2db7378c71f96998c1e6c0ce01fa87adf291bd0@redhat.com>

OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,halober/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine