Added password removal for non-internal authentication. Added permission granting from training statuses.
Coding style change
Coding style in CoreUtils. Added permission flags based on remote ip, but will ONLY work with CoreUtils::hasPermission(), not User::getInstance()->hasAuth()
Restricted training permissions to users currently trained