Add validity configuration option for account creation and password reset tokens.
Introduces token validity config option and corresponding documentation. Basically makes the existing hardcoded values configurable - implementatation requires Java 8.
Relates-To: #49 (closed)