Make exception handler comply with HttpKernelInterface

- Don't send response in handleException to comply with HttpKernelInterface
- Added handleUncaughtException which also sends the response
Fix conflicts.