allow for custom username lengths via site settings

SiteSetting.min_username_length and SiteSetting.max_username_length allow changing of min and max length for local usernames.

Note: the custom lengths are not considered and the default is used if `enforce_global_nicknames` is true