Gruntfile.js: Heed the linter.
(cherry picked from commit 319115b7d7c60f8ff4925624179630b72064d1db)
Navigator: Identify initial popstate by recording the initial href, and then comparing it to the location upon the first hashchange. Fixes #5579.
(cherry picked from commit c0ba8faba37e1920d9c0f833ffb92a4ff471507e)
testHelper: Do not manually turn off ignoreInitialHashChange
(cherry picked from commit 84259169c013dc2faea28b9c94723973b8c1d65f)