CLOUDIFY-1401 Added the @PreAuthorize annotation for getTempalte and listTemplate methods in ServiceController.
CLOUDIFY-1401 we now allow role app_manager to list and get templates (not add and delete).