Minor tweaks. No functional change intended
MediaEmbed: improved [media] tag by not replacing @id with @url if @url looks like an URL