Added explicit contenttypes dependency for migration 0002.
Workaround for django bug #22518.
https://code.djangoproject.com/ticket/22518