Support fragment(hash)-based URIs

This PR introduces support for purely hash-based URLs, which enables oneboxing of URLs like this one:
http://www.openstreetmap.org/#map=12/48.8557/2.3186

Without this change  plugins like [discourse-openstreetmap](https://github.com/lidel/discourse-openstreetmap) are not triggered.