Merge changes from TheSerapher's pull/1404 Added re-Captcha to Login Page
no config version inc
Moved csrftoken stuff into a class
added getCurrentIP method to user class
added config option for sitewide csrf protection
specific timing for csrf tokens
clean up pages that use csrftokens
Cleaned up logic of login page csrf protection
added csrf protection to register page
Added method to get description image of csrf token with name
moved sitewide into options portion of the config option
csrf protection for contact form under sitewide config option
changed register to 1 hour token
refactored old token usage in account edit page
Finished cleanup of account edit page
added csrf protection to account edit page under sitewide config
escaped all instances of CTOKEN for csrf in smarty templates
cleaned up account edit csrf slightly
added csrf protection to workers under sitewide config
added csrf protection to notifications under sitewide config
added csrf protection to invitations under sitewide config
cleaned up login page csrf
cleaned up contactform/contactform page
cleaned up register/register page
moved config->csrf->forms->register to sitewide
added login ip/user/time to notification on login
[UPDATE] CSRF protection + User/IP/Date & time added to login notification
 * Adds CSRF protection for multiple pages, see bottom
 * Adds User/IP/Date & time to successful login notification
 * New config option for sitewide CSRF protection
 * Fixed a bug in the contact form
 * Lots of cleanup related to CSRF stuff
 * Increments config version
 * CSRF protection: register, contact, account edit, workers, notifications, and invites
PHPUnit test harness & sample test
updated test readme
cmon readme do what I want
I need to l2markup
fixed test harness
fixed a bug in edit account template
moved csrf token to above template in smarty assigns
fixed a bug in user class
remove small login/fix header to catch up
added signup_timestamp to accounts table
added getSignupTime() method to user class
added 014_accounts_update.sql and updated 000_base_structure.sql
incremented db version
add notify_email to accounts table and getUserNotifyEmail() method in user class
after looking into this quite a bit, this is the correct way to do it after all