Various improvements to uid management in ldapadmin

Validation of uid field:
* use regexp for Java validation
* use the same regexp for javascript validation in public "new account" page
* configure the regexp as a new parameter in config module
* new parameter in config module to specify the uid validation regexp

Auto generation of uid field:
* add a parameter to disable automatic uid generation in public "new account" page
* use this parameter to allow edition of uid field in privateui "new user" page
* accept uid as an input in POST /users/ API
* new parameter in config module to disable auto generation of uid field

<!---
@huboard:{"order":598.95068359375,"custom_state":""}
-->

Hi
The default regexp is to strict for us - and anybody else ? - since we have lots of users with complex names ([a-z]|\s|'|-) and would like to let them register with their usal login