Code cleanup.
Enabled test for the complex schema. Added test for LDAP and JPA configuration.
Small improvements.
Fixing how the partition is set in IdentityType during the creation.
Initial code to support multiple configuration and stores.