Code formatting, calling average_percent rather than average
Revert uploads_controller back to a model, one for assignments and students

Basically my refactor idea didn't work. I have moved back to using the models
after looking up working csv handling for importing into the database tables