Added Piechart of attendances to student index
Changed .count to .size for querying in piechart
Decreased size of pie chart
Fixed database errors, merging to master
Fixing merge conflicts