Fixes to update SQL. Wrong version number in 1606 entrada.sql, wrong syntax in 1613.sql.
Fixes PHP errors on grade book view and edit pages, adds missing active field to assessments table in upgrade SQL.
Merge branch 'develop' into feature-copyright