Add function to send an email to a webmaster email.

Includes a function and one additional setting.
Make it possible to set a minimum time between emails.

Also fixes the missing site_name in mail.
Needs more coffee. :-(
Fix conflicting variable $message.
Merge branch 'feature/send-error-email-func'