Better handling of invalid SAML assertions.
Also code cleanup and comments.
Disable redundant Mediawiki features.
Only register hooks in #registerHook($config)