UI for password recovery

Part of fix for #57
Generation & storage for password recovery-keys

Part of fix for #57
Passwords can be set now using the restore link

Part of fix for #57
Sending e-mails works now

Final part of fix for #57
Cleanup ...
Use ${web.url.complete} instead of static url
Use default-mechanism to configure mail settings & Organized imports
Added delete account function to the Account Settings page, addresses Issue #4.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Changed the delete account button to have an x, and the confirm button for it to be red.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fixed a bug where Brave Collective in the page header would redirect to the folder index rather than the server root.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge remote-tracking branch 'upstream/develop' into develop
Added lowercasing to recovery (#57) e-mail address and forced e-mail addresses in DB to be lowercase (see also #40
Removed unused constants
Resolves Issue #106, adds server side checking of email address formats.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Added check to make sure the tld of the email address was greater than 1 character

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fixed an error in the signup page relating to Issue #40.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Explicitly deauthenticate users after successfully deleting their account.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #104 from Acidity/features/issue4

Added delete account function to the Account Settings page, addresses
Merge pull request #105 from Acidity/feature/fixHeader

Fixed a bug where Brave Collective in the page header would redirect to ...
Merge pull request #107 from Acidity/feature/issue106

Resolves Issue #106, adding server side checking of email address formats.