LDAPAdmin - Encrypting passwords

**Preliminary note: this PR also includes some automatic re-indent / removing trailing whitespaces, but this should most of the time have been done into separate commits, so if you want to review it, my advice will be to study only the relevant commits.**

This PR proposes to encrypt passwords before creating a new user, it also introduces some testing framework tools, following the previous work initiated onto Extractorapp and Mapfishapp.

This is an unfinished work, especially reguarding the test suite[1], but has been tested locally to ensure created users from the UI comes along with an SSHA encrypted password, and should be already functionable.

I would be glad if some other users could do some extra testing (at least runtime testing) before merging it.

[1] Coverage has been improved, but it is still extremely low:
https://ssl.beneth.fr/reporting/ldapadmin/cobertura/index.html