Restart scheduler on deploy
Merge pull request #1809 from zz9pzza/issue_4081_2

issue 4081 Restart scheduler on deploy
Reorganize indexing and add unit tests
Merge pull request #1812 from elzj/queue_changes

Issue 4078: Reorganize indexing and add unit tests
Clear redis queues during testing
Merge pull request #1813 from elzj/queue_changes

Clear redis queues during testing
Add missing self to reindexing job
Keep reindexed tags in the same queue
Uncomment necessary code and fix stat counter queueing
Merge pull request #1814 from elzj/queue_changes

Uncomment necessary code and fix stat counter queueing