Change Parameter Order and error handling

Change Parameter Order in order to reflect Joomla's default order;
Now it's using Joomla default error handling for plugins in Joomla. It's adding the Error Message to the $dispatcher and let's the Event caller to handle the error better.