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 'x-youtube-username-fix' into prod-test

Conflicts:
	apps/videos/tasks.py
Bad merge is bad.
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
Merge pull request #106 from pculture/production

Merge from production
Merge branch 'i-2074' into prod-test
Merge branch 'production' into prod-test
Merge branch 'production' into prod-test
2107: Disable 'perform task' when task is locked.
2124: Add BillingRecord model
2124: Add post_save hook to create BillingRecord