[bug 889549] Fix: converting teach to render server side
[bug 889549] Added nunjucks for clientside rendering (dev mode only for now), some restructuring of stuff in mediaGallery
[bug 883994] Fixed variable name collision