Abort pending XHR in popstate handler.
Add failing test for fallback HTTP referer
call history.back() then location.assign() in locationReplace
Add failing tests for delayed pushState branch
Delay cachePush and pushState until XHR success
Merge branches 'delay_push', 'fallback_referer' and 'popstate_aborts_xhr' into dev