Adding method to return all partitions for a given Partition type.
[PLINK-249] - SAML Handler Locking should be configurable.
Added tests for custom Agent types when using the simple schema.
Changing id type to long.