Version 3 

New additions some clean up
Merge pull request #1425 from WKNiGHT-/patch-2

Version 3
Deduct fee to payout amount value on email notification
Merge pull request #1427 from nicoschtein/patch-15

Deduct fee to payout amount value on email notification
Fix Dashboard
Merge pull request #1435 from rog1121/patch-2

Fix Dashboard
[Addition] E-mail confirmations for user actions
 * If enabled, sends e-mail to confirm user withdraws, edits and pw changes
 * Adds 4 config options, enabled + individual settings
 * Adds 3 new token_types
Incremented version, moved config options, return vals fixed in 2f checks
simplified notifications with index, updated the settings method, and fixed up template, sql fixes
retooled most of the email confirmation setup
fix how late we delete tokens for 2fa
fix cosmetic issue
fix cosmetic issue #2
fix sync changes done in edit.inc.php at the end of request
oops, forgot to make sure we're auth'ed
works as far as I can tell
save old token to use in case we error out
success_login tpl for new notification
send notifications on successful login when active
fixed my incorrect use of notif settings array