Single user mode

Added support to User class for single user mode and using a login code. Both are used by deploy.php, single user mode will be set if an email address is passed to the script as a url parameter, a login code will be created if a password is not provided.
core 7 0