Handling exceptions by plugins

Incrementing the fail count for a plugin, checking whether it exceeds
our maximum exception throws and disabling it if necessary. fixes #34