Update ajax request check to use wantsJson vs isXmlHttpRequest
Merge pull request #154 from Psykar/master

Update ajax request check to use wantsJson vs isXmlHttpRequest