[BUGFIX beta] Fix auto location test for old browser

Stub `AutoLocation._getSupportsHistory` to test `AutoLocation`
behavior on hash location.
This stub is needed on old browser such as IE8.
Merge pull request #4931 from tricknotes/fix-auto-location-test

[BUGFIX beta] Fix auto location test for old browser