UserGroup model: replace `findId` static method with `findIdByName`.
Fix hang-up of `resend_activation` handler.
Drop `env.runtime.is_validating` variable.
Style fixes in user_to_setting.js
Refactor register/activate.js