update media field JS to use attachment_id instead of guid. Add remove link below images. Support arbitrary class to pass to wp_get_attachment_image.
code cleanup
Merge pull request #6 from netaustin/xmatt

media field fixes