Use hashbang URLs

This change to the regex should handle `#` or `#!` or `#!/` URLs properly. `urlToHash` will convert explicitly to `#!/`—this is what the user would see.