Improved compatibility, bug fixes, refactoring and new features

This pull request makes the CAS plugin work with recent Sonar releases (tested with 4.3.2 and 4.4), fixes issues, and adds support for CAS 3 / SAML 1.1 user attributes (name, email, groups).