added USERS_PROFILE_ALLOWED constant to CAT_Users; reworked setting of global constants in class.frontend.php; reformatted and stripped some comments in class.secure.php