General code cleanup

- Move a couple of classes out of CirrusSearchSearcher since it
  was getting rather long
- Explicitly register all classes if they aren't
- Use anonymous function for prefix setup because I can, remove
  single-function class
- Adjust uses of getIndexName()/getIndex() to go with I1d8aa7f9

Change-Id: I53056c40e72e73205ea1130fa62b4afecd83996c
Merge "General code cleanup"