shell: Demote current pages to a legacy role.

External pages in an iframe are now the modern way to do things and
the old way has been labelled as 'legacy'.
shell, base: Move cockpit.hash into base.
base: API for hash tracking and setting.

Also, move the old cockpit.location temporarily out of the way.
shell: Use new API for hash tracking and setting.