test updates for changes from the indexing changes
Merge branch 'staging' of git://github.com/pculture/unisubs into staging
updated docker config env
Speedup SubtitleVersion admin page (#788)

This code should be the best way to select subtitle versions from the
admin page.  Originally, we were doing a straight select of the
SubtitleVersion objects, which was not great because for each list row
we would end up doing extra queries to get the video/language.  Then I
changed it to call select_related(), but this ended up blowing things
up because it was joining to too many tables and the query was insane.
I believe it copied every row from the subtitles_subtitleversion table
into a temporary table (although maybe it was the videos_video table,
not 100% sure).

Anyways, this time around we are now calling select_related() for
exactly the videos and subtitle language table, which should make
things work great.
Merge pull request #846 from pculture/gh-788

Speedup SubtitleVersion admin page (#788)
Different way to improve the subtitle version admin query (#788)

Hopefully this one works.
Merge pull request #847 from pculture/gh-788

Different way to improve the subtitle version admin query (#788)
Removed the videos SubtitleVersion admin pages (#788)

There's no real reason to show them anymore, and they were also
locking up the DB.
Merge pull request #848 from pculture/gh-788

Removed the videos SubtitleVersion admin pages (#788)
Adding timing logging output in dev_settings.
Optimized the subtitle language page (#756)

Call video.prefetch_languages(), and made the code use
languages/versions that gets cached from that call.
Speedup for SubtitleLanguage.get_widget_url()

This call was actually taking a substantial amount of time.  So now it
just returns an easy-to-calculate URL, and that URL redirects to the
full URL for the old editor.
Speedup loading versions for the subtitle language page

Added SubtitleLanguage method that gets all versions, and optimizes
them (set's their cached video/subtitle_language attribute).  We use
this to get all versions with 1 query in the page, including the
current, and next version, and tip version.
Speedup for Video.get_team_video()

When we get the TeamVideo object, we set it's video attribute so that
we don't need to re-fetch the video from the DB.
Optimized the scripts block for the language page

We were doing a ton of redundant queries there.
Slight speedup for getting the previous version for subtitles

I was hoping that this would speed up the subtitle language page
substantially for languages with a lot of versions, but it's really
just a minor thing.
Moved subtitle rendering to a django filter

This is less clean than rendering it in a template, but significantly
faster.  It saves about 30 seconds for me when rendering a version
with 3000 subtitles.
Removed a bunch of cruft relating to the video language page

We had code to handle going to the "video history" page, without a
language.  I'm not sure why this made sense in the past, but it
doesn't make sense now and it wasn't used.  Removed a couple unused
functions/templates.  Changed the rest to simply redirect to the video
page, which is what we were doing anyways.
Speedup language revisions (#756)

Calculating revisions takes a significant amount of time for the
language page, especially when there are many revisions and lots of
subtitles.  This commit makes two changes to make us handle language
revisions better:

  - We don't load the revisions until the revisions tab is clicked
  - We paginate revisions
Improve the info line for subtitles

Don't show the translation source.  Showing this adds almost 10
DB queries to the request.

Refactored how we display the info line so that it's possible to be
translated.