- Fix bug in Controller->forward function.
- Move all error functionallity to ErrorController
- Made errors produce json if the request was an ajax-call