Adjust order of INSTALLED_APPS to help with custom migration

This helps when customising an app whose initial migration has
dependencies on other apps.  It's not a watertight fix but is backwards
compatible and will generally help.

Fixes #823
Change migration recommendation for custom apps

Related to #823