Refactor tests
Update sanitize language codes in models
Remove logging fallback import
Remove obsolete form factory overrides

 * Remove obsolete factories for multilingual forms.
Fix deprecated warnings
Refactor core to work with Django 1.6

 * Introduce `TranslationRelation` relation object to handle joins to
   translation tables.