Centralized URL hash management in the focus plugin and escaped uses of URL hash as selectors for jQuery objects

Fixes #6334
Merge pull request #6398 from pjackson28/escapejqueryobjects

Centralized URL hash management in the focus plugin and escaped uses of URL hash as selectors for jQuery objects