Updated the error handler to work with the latest version of Laravel 5.0

Loaded this into the freshest Laravel 5.0 and it gave me an error about App::error() not found. Therefore had to figure it out. This is how events are registered in the newest release. Not sure if it is the best way to do it.