Add events onRDFAuthorInitTemplateAction in ServiceController and onPropertiesTemplateAction in ResourceController to trigger template extension