Test optional apps, except django-extensions

Updated version of #1168, please see the discussion there.