Update indexes via signals from metadata updates or document deletions
Reorganize imports
PEP8 and simple cleanups
Merge remote-tracking branch 'origin/master'