[fix] Fix the new Ldap::rootDSE() method's caching mechanism
[dev] Improve code alignment ( I am detailist )
[dev] Replace some if statements with && statements

Not sure why I am doing this, character count is almost always the
same. Guess it's just personal preference...