SQL case indexes

#3329
Yea, though it is needed for the supervisor case activity indicators. Currently we have 80 tables with this data for each of the 80 domains that have callcenter activated.

We could implement some archiving so that we only have recent data in this table.