remove the delete tests and add test cases for what happens after an admin manually sets the visibility_override of the last public version of a moderated team to private.
add a few more checks for when visibility_override set to deleted.
Merge pull request #148 from jdragojevic/wd-unpublish

added tests for setting visibility_override to private or deleted for the last public version of a moderated team.
Restablish write lock methods on videos.SubtitleLanguge as tern will need this
Merge branch 'dev' of github.com:pculture/unisubs into dev
Dough, added missing writelock related methods to the videos.SubtitleLanguage
We also need the special save method for tern
2321: fix next url after deleting a task
Merge remote-tracking branch 'origin/dev' into dev
Fixed billing check on DMR
Merge branch 'dev' of github.com:pculture/unisubs into dev
2297: Still porting YT syncing to DMR
2297: Babelsubs returns unicode, gdata breaks, yuck
Unittest fixes.

Changed can_add_version check to input Video/language_code instead of
SubtitleLanguage.  This allows us to use it for languages that haven't
been created yet.
Don't check moderated_by field for rollback

The moderated_by field is pretty strange (see 2298), let's not use it
to check if we can rollback to a version
931: added teams permission checks to the rollback button

We only allow users to rollback if they can add a new version to the
language.
931: fix rollback display logic for the diffing page

Now it matches the logic for when we show the rollback button on the
page for the subtitle version.
Merge pull request #149 from pculture/x-931

X 931
2319: writelock languages before deletion
Merge remote-tracking branch 'origin/dev' into dev