Optimize LMS views.

@cpennington @dmitchell 
These are the changes which brought LMS Split courses to an equivalent performance level as Mongo courses, when under load.