Performance improvements

Introduces the lean operation of mongoose for reading db queries which
improved retrieving all translation by 500%. Furthermore extracted
#hasMasters to the translator module to save an additional request. The
translation index will now be created in the translator. Furthermore
added caching of static js files to 1 day.