Url fix

One patch to parse more urls, the other is to allow plugins to declare themselves as unique handlers for content.