Added and updated Feature enum list.
Implemented invalidate method.
Added validation to avoid duplicated IdentityTypes.
Fixed ClassCastException when validating a User instance other than LDAPUser.
Added validation to check for membership parameters.
Persistence config should not be packaged.