Make sure that new usernames do not exceed 80 characters

Implements http://manage.dimagi.com/default.asp?76973#467482

Requires migrating django_digest (see https://github.com/dimagi/django-digest/pull/3).