Bug #760 - SEO Fix for media not rendering

MediaType was case-insensitive in the database, changed code to compensate.

code review: http://mrccodereview.cloudapp.net/ui#review:id=1289