Add cohort support to sunspot indexes and searches.

[#59280284]
https://www.pivotaltracker.com/story/show/59280284