Fix bug when OPL-update is run with library version 2.
We get a mysql error when the files are generated for
the new homework manager.  Fixed by quoting table names.
Fix bug when people view sets from the course (i.e., existing hw sets).
Before, they were sorted by name, this keeps the problems in the order
they appear in the problem set.
Merge pull request #528 from jwj61/2.10-fixes

2.10 fixes

I checked both of these fixes and they work.  There is no longer a syntax error when using NPL tables and problems are ordered in order, as it were.