[PLINK-611] - More flexible and rich API for Identity Type Queries.
Merge pull request #418 from pedroigor/PLINK-611

[PLINK-611] - More flexible and rich API for Identity Type Queries.
First step
Formatting change
Formatting change #2
Authorizer for levels
Authorization of levels
Context management
Asynchronous check of the contexts
Formatting change
Another formatting change
Fixed bug of logging out
Corrected error with reauthentication
Duplit context name check and corrected logic with caching context check result
Added 'hasLevel' method to EL processor so it can be called in EL
Obtaining security level from credentials
Corrected Credentials level resolving
Changed resolver processor to serializable
Corrected bug with setting level violations
Fixed slight bug with unsuccessful reauthorization for higher level