1894: Fix crediting where last sub is unsynced

* Often, the last subtitle won't be synced and will just extend until the end
  of the video.  In those cases, the "end" value is -1.  If that's the case, we
  can't add the credit sub.

* Made the add_credit() function dumber and easier to test (it now takes the
  list of subs, the language code and the video duration).  This makes it much
  easier to test.

* Rewrite tests (see above)
1890: Fix unittest logic
1980 Sync teamvideos linked to individual accounts
Merge branch 'production' into i-1890

Conflicts:
	apps/accountlinker/models.py
	apps/accountlinker/tests.py
1890: Fix check_authorization logic
1890: Fix unittests (yt imported versions)
1890: Fix more tests
2025: Sync to YT when marking lang complete in admin
Merge branch 'production' into i-1890
Merge branch 'production' into i-1890
1890: Sync to youtube when teamvideo is deleted
2093: Append credit instead of prepeding
2093: PEP8
2093: Add unittest
2109: right-align subtitles for RTL languages
2122: fixed duplicate wistia entries causing media compilation to fail
Merge pull request #119 from Pencilneck/dev

161: Fixing size reporting on wistia video player, fixes CSS bugs
161:  Fixing size reporting on wistia video player, fixes CSS bugs
Merge branch 'production' into staging
Update integration repo