Per Cache Based Max-Size Implementation

Contains:

* max-size policy implementation on core package
* update on spring module for max-size policy implementation
@mdogan I am thinking of moving all cache max size checkers (interface and implementations) to a new package under "cache/impl" package as "maxsize" package. WDYT