Fix the settings import in the search index management command.

"import settings" should have been "from django.conf import settings".

Fixes bug 2872.