codeintel: Add feature flags for auto-indexing
Created by: efritz
We moved background routines for scheduling indexing tasks from a dedicated indexer service (only deployed on cloud) into the frontend. To stop from adding useless records into the database on a loop, feature flag these background routines (default: off).
Drive-by: Also made separate intervals for different types of tasks (indexing, cleanup, commit graph updates).