Added support for the fancy media uploader.

I added in the new media uploader. Requires Wordpress 3.5 (I think).
This removes the step of going to Media -> Upload and then pasting
the URL.