6876

This commit avoid some php warning messages about undefined variables, format some files, put an order when show, add and edit gradebook results and finally when the max Y axis is integer Y axis is going to show only integers.