Add CORS support through XDomainRequest on IE8 & IE9.
Add better error handling if something goes wrong during AJAX request.
Merge pull request #3358 from DFurnes/ie8-cors-poo

Fixes IE8 and IE9 CORS issues with School Finder.