Fix gradeassignment

This should fix the gradeassignment controller - in addition to the missing createActiveCode function, there were a few missing Javascript includes.

Also fixes #275 (Sphinx build failures).
Needed to remove the line copying jquery-1.10.2.min.js to jquery.js (similar to the commit yesterday removing that copy command from pavement.py). This call was after the Sphinx build which is why the course was created but web2py still claimed the scheduled task failed.