Use proper PHPDoc and variable names in the LDAP lib

My IDE was so sad about this that it marked the whole file in red and yellow and forced me to fix this.
Fix Typo

I guess that should be `default` and not `defautl`, wondering how this ever worked.
Use @return instead of @returns
Use WizardResult|false instead of mixed
That's bool and not always true
Use array as type
Merge pull request #8538 from owncloud/make-my-ide-less-complain-about-ldap

Use proper PHPDoc and variable names in the LDAP lib