handled allow upload and set featured toggle buttons in admin settings for media types not having extension specified.
handled media query to get media in media-gallery template. Also added  action to disable  media type 404 handler.