Spot when second hash is encoded in fragment.

This switches to using location.hash, rather than location.href,
and copes whether the second hash is given as "#" or "%23".
Merge pull request #3 from dracos/master

Spot when second hash is encoded in fragment.