Hook up IAM update for updateTemplatePermission api.
Merge fix for CLOUDSTACK-5987 in master to RBAC.