added hyphen allowed character in uids

ldapadmin restricts uid with [a-z][a-z0-9\.]*
a more open yet valid regex would be [a-z][a-z0-9\.-]* allowing spaces in names to be replaced by hyphen
tested successfully on dev.geob.fr

partial fix #676