Only allow embedding of newly-uploaded file if it's of the correct type

Fix Insert into post link on new file upload

Issue #1 WordPress 3.6 Compatibility