Added support for editing from coursePage - BUG

1) Added gradeToMark function - converts from letter grade to %
2) changed the way data was saved in qml in edit page

NOTE currently it crashes if try to save after gradeToMark fn is used to
save the edit sheet before.