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 - implementation requires Java 8.
Relates-To: #50 (closed)