Determine relevant CSS classes for media item in class rather than the view.

This is more DRY, consistent and flexible than having each view do it.

props ryelle


git-svn-id: https://plugins.svn.wordpress.org/tagregator/trunk@1005393 b8457f37-d9ea-0310-8a92-e5e31aec5664