CB-4330 Fix hash changes being treated as top-level navigations
CB-5697 Fix location.reload() not firing deviceready.

It was being detected as a hash change event.
This commit also fixes isFragmentIdentifierToRequest ignoring query parameters.