Fixed issue with database insertion

Fixes issue where adding an empty set of students to the database for a
session would insert an empty record for a userId of 0. Also fixed
counting bug on session overview page.
Added capability to remove / add grades for students

Adds capability to remove / add grades for students on the Wordpress
plugin page.