Tolerate non-importable apps like django-debug-toolbar

If your installed app isn't even a valid Python module, haystack will
issue a warning but continue.

Thanks to @gojomo for the patch

Closes #1074
Closes #1075