Speed up video_gauge

Also re-implemented video_gauge_long.

Added tests for both
gh-754: don't make language metadata fall back to the video metadata

Also made it so that if we set metadata for a subtitle version, it
doesn't add it to the video metadata (although it still updates the
metadata types for the video).
Updating integration repo
gh755: display metadata in the correct locale
gh696: fix project filter for tasks

Replaced old code to reset the filter with one that simply searches
the DOM for the option that was originally selected and selects that.

Also improved the template a bit:
* Made the any project have the selected attribute if project=None
* Made the HTML for the options not span multiple lines
gh754: Don't default to video metadata in the new editor
Expand/Collapse both metadata sections together.

I've been meaning to fix this one for a while, and wanted to sneak it
in since I was already working with the metadata section.
gh719: fix alignment of rows in the new editor.

We were forcing the text fields to have at least 2 rows in them.  This
was another fix that I wanted to sneak in.
Merge pull request #761 from pculture/gh-754

Gh 754
Merge pull request #762 from pculture/gh-755

gh755: display metadata in the correct locale
gh757: make back button reset project filter for team videos page

There is more to this bug, but I think my last commit may have caused
a regression here, so I want to fix this part before merging.
Merge pull request #763 from pculture/gh-696

Gh 696
time
Fixing missing tag that was from a bad commit
Merge pull request #765 from pculture/dbtuning3

Speed up video_gauge
Merge branch 'staging' of github.com:pculture/unisubs into staging
Merge branch 'production' of github.com:pculture/unisubs into production
Merge branch 'staging' into production