Allow error reporting.

Allow any errors from events, plugin starts or stops, or any scheduled tasks to be reported back to the plugin. This is to allow for remote error reporting. (Maybe a pastebin post, or app.gensentry.com report).