Add text\plain and text\html respnose types support to 'fileuploadfail' ...

Added support for other data types then xxx/json(text/plain and text/html), fixes issues with IE prior to 10.