CLOUDSTACK-7771: Throw exception while restoring vm if the template is already deleted. Also fix the usage event being generated from the right template id and fix the log message which sometime showed incorrect template id.
CLOUDSTACK-4201: listServiceOfferings API needs to be able to take virtualmachineid of SystemVM and return service offerings available for the vm to change service offering
when host is pingtimeout and CCP can not determine the host status, put the host to Alert status , no VM HA.
CS-21296: hidden snapshot.backup.rightafter, as it's not needed