Updated task.tpl and event.tpl

Add a task and add an item forms now only display when the user has the permissions to add tasks and items to the event.