Moved grade table logic to model, created tests for selecting available semesters, and refactored available_semesters to work in both mysql and sqlite, by using the orm
Refactoring gpr_by_semester to use rails orm and support sqlite
Moving data table method to controller, creating total_gpr method in enrollment, using rails orm, and return gpr as float instead of int
fixing transcript for sqlite