Fixed deprecation warnings issued by migrations.

Model._meta.module_name was deprecated in Django 1.6.