Add Reset Token support. Adds Notifications, user emails (notifications), user email verification,

Adds the backend for password resetting for all users, and creating professor accounts without passwords.

This changes a bunch of the login API.

Also, adds Database Transactions for all Actions, so that all bugs (that aren't PHP parse or fatal errors) in the code lead to a rollback.
Permissions for common/ directory.
Remove selectpicker (the Bootstrap Select replacement) for now
Support "Reset Password" on index.
Update version to 0.7.0 planned for 28 July 2014
Forgot the form target
Reinstated Jinze's changes from commit 28831c0, also making it more thorough

Fixes a crash on professor pages (applicants and assistants) when no term is loaded.

Fixes a crash on staff pages (downloadPayroll, payroll, andreviewStudents) due to getApplications call.

Change function name to "findApplications". This, along with findPositions, and findUsers* and others, will soon need pagination support. * = does this exist yet?
Missed the home pages
Create professor support (merge conflict)

Conflicts:
	staff/createProfessor.js
Use Configuration system for EMAIL_DOMAIN and EMAIL_LINK_BASE values

For email to look right, use these in the DB.