add a filter hook to media field previews
added js hook also
Merge pull request #78 from nschoenholtz/media-preview-filter

add a filter hook to media field previews