This comes to address TMART-389. Again, as said many times it is a bit frustrating to have to write this "patch" as it will considerably reduce the choice in usernames. But we have no choice I'm afraid.

Making the most of this occasion to also port some usefull passwrod strengh check from the 1.1 branch (This does not check over federated sources)