Speed up Team.videos_count

This way removes the join to the videos table and simply counts from
the team videos table.
Removed GROUP BY in the teams_project template tag.

We were doing a fairly expensive group by, but not even using the
results of it.

Also removed a couple templates that we don't use anymore.
Better way to hide the loading modal.

I think it makes way more sense to put this code in app.js rather than
the subtitles controller.
Refactored languageChanged()

We were always calling it without a version number, so remove that
parameter.

Generally cleaned up the function.
Use opensans font in the title/description metadata textareas
Fixing icon position, it will now follow info tray to a given buffer.
Merge pull request #786 from pculture/editor-fixes

Editor fixes
Don't save SubtitleLanguage twice when regaining the lock

writelock() calls save(), so we don't also have to call again in in
regain_lock()
Merge pull request #793 from pculture/speedup-writelock

Don't save SubtitleLanguage twice when regaining the lock
Include empty metadata in the editor fields (#787)

This fixes both the old and new editors
Merge pull request #795 from pculture/gh-787

Include empty metadata in the editor fields (#787)
Merge pull request #775 from pculture/dbtuning4

Dbtuning4
updated docker setup
minor test tweaks