refactored MediaController to MediaIndexController and GramController to MediaController, added 'show' support for photos taken via webRTC