Compatibility with Piwik 2.1

Hi there, we are going to release Piwik 2.1, which brings some API changes, soon. See http://piwik.org/blog/2014/02/piwik-2-1-changes-plugin-developers/ for more information. The API should be backward compatible but we will remove some APIs in approx 5 weeks. That means without these changes the plugin will probably not work with Piwik 2.2. As already discussed I am sending you a pull request to be compatible with latest Piwik version. Unfortunately, I cannot test it as I do not have any LDAP running. Do you mind having a look whether the changes are OK and everything is still running? Cheers