Use AppConfig with Django 1.7

Note we need to remain compatable with Django 1.6 for South migrations.

Change-Id: I1330891c166bdd5332b6684e52d2ecaa1145f6bc