Check if django.contrib.admin is in INSTALLED_APPS

Make sure django.contrib.admin is in INSTALLED_APPS before moving
it to the end of the list. Adding this enables moving admin app
on a different domain.