CLC-4072 Make class calendar table indexes unique

https://jira.ets.berkeley.edu/jira/browse/CLC-4072