Required fields

Add an option in ldapadmin config to list the required fields in the forms + some code factorization.

<!---
@huboard:{"order":51.0634765625}
-->