Aggregation functionality for course scoring

@sefk 

This has been tested on db-class data.  See my email for testing details.