MDL-43089 refactor maxmark ajax update code

* don't display icon on form when editing grade
* removed unused code
* refactor title and markedoutof to maxmark