Fixed bug in Ajax.py

There was a bug in the saveprog function that had to do with deadlines. Basically if a user didn't have a section it would break.

I fixed that, and updated a couple of broken links in the views