Removed ProfileTarget.
Refactored the way of sending response in controller actions.
Errorhandler, manually load classes

load ErrorException manually because autoloading them will not work
when error occurs while autoloading a class
Fixes for issue #536: refactored error handler.