Fixed that validating a Setting with invalid name triggers an error (#15551).

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012348
Fixed that CSS class for done ratio is not properly generated (#15523).

Patch by Go MAEDA.

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012349
Fixed that preferences are not preserved when adding a user fails (#15552).

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012350