Added 'send test email' function

This allows the administrator to check that the HRM and the underlying
email server are properly set up to send emails to users.