Changed the way localflavor classes are imported

Changed imports according to: https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/#how-to-migrate
This also fixes some tests.