VID-1976 refactoring media gallery front end to render client side
VID-1976 updating mustache templates in JS
VID-1976 getting galleries to render client side
VID-1976 front end rendering and toggling of galleries
VID-1976 more gallery front end refactor
VID-1976 fixing caption interaction
VID-1976 scrolling to top of gallery after collapsing it
VID-1976 cleanup and bug fixes
VID-1976 cleanup and bug fixes
VID-1976 adding the show/hide animations back
VID-1976 code cleanup
VID-1976 comments
VID-1976 fixing toggler bug
VID-1976 adding some unit tests
VID-1976 adding more unit tests and slightly refactoring code
VID-1976 responding to code review
Merge branch 'VID-1976' into VID-1976-unit-tests
VID-1976 adding tracking for the show less button
Merge branch 'VID-1976' into VID-1976-unit-tests
VID-1976 fixing after upstream merge