Per Cache Based Max-Size Implementation

Contains:

* max-size policy implementation on core package
* update on spring module for max-size policy implementation
Why static and in RecordStore? I think this should be in service as an instance field.