turn off extra columns in grade report if

quiz setting is off.
fixing phpdoc comment properties