Improved notifications for teachers and managers.
Added option to send email to managers as well as teachers.
The email message now contains a link to manage applications (the link allows teachers to manage all applications in a course, while managers see all applications in all courses).