[Debug] generalized ErrorHandler
[Debug] update FrameworkBundle and HttpKernel for new ErrorHandler