Converted the oEmbed functionality into a plugin.
Added a global hook, GET_PUBLISHED_URL_PATTERN, so plugins that provides new published-urls can register for oembed.