Updated .gitignore with some stuff
Restored private function getUser() and created an option under role to let the bundle know if it is dealing with a LDAP or an Open Directory server