sorted models, filled databases in tests

executing "./manage.py tests" will run all tests in the tests.py file.
currently there are only commands to fill the databases with values.
these test values are deleted when the tests finish. also, the models
have been sorted to deal with dependencies.
fixed template pages

Made the headers/footers more accurate
fixes student urls

comparing with other urls, I've made my urls more comparable to other
urls. tested to be correct.
implementation errors for student pages corrected

now that testing is possible, various python errors have been fixed.
added code for testing

this is more usable code than previous versions of testing data
Merge remote-tracking branch 'origin/jasons_branch' into merged_kenw

Conflicts:
	vagrant/simcon/models.py