Finished login functionality

1. Set up login page to display messages stored in session flash data.
2. Fixed issue with UserResource store() not properly storing password
hash.
3. Updated UserResource store() to flash a success message to session.
4. Cleaned up auth filter, and updated routes to use standard auth
filter.
5. Fixed issue with UserValidator 'update' rules using old field names.
6. Cleaned up routes, and added routes for upcoming pages.
7. Added link to bootbox in base view.
8. Added functionality to login form.
9. Updated onlibrary.handleAjaxError() to use bootbox if a string error
is received.
10. Fixed issue with register.js where password-repeat validation error
wasn't being properly generated.
11. Updated register form submit success to redirect user back to login
page.