revert fix($location): make legacy browsers behave like modern ones in html5Mode

These commits have caused more problems than they've been worth, and we get to remove some code,
too.

Opinions on reverting these would be appreciated! /cc @IgorMinar