Check if an error is thrown in the plugin.

Also return false if a plugin returns false
Use JDispatcher to keep 2.5 compat
Merge pull request #33 from wilsonge/patch-1

Check if an error is thrown in the plugin.