MYFACES-2363 ExceptionHandler implementation requires deal with ajax responses (thanks to Jakob Korherr for provide this patch)