Added TestCase.assertThrowsWarning in the testing toolbox
Changed TranslationQueryset.language() to defer the call to get_language until query