Intercept redirect only if it's not XHR (Ajax)

Intercept redirect can't really help debugging at all
if requests are XHR (Ajax), because browsers just don't render
their response by default.
Merge pull request #41 from crosspop/ajaxfix

Intercept redirect only if it’s not XHR (Ajax)