TAB-4824 : Fixing the resizing logic in Cache and CacheManager

git-svn-id: http://svn.terracotta.org/svn/ehcache@9446 b9324663-ca0f-0410-8574-be9b3887307d
TABQA-7497:- Explicitly Remove and dereference default configuration change listener.

git-svn-id: http://svn.terracotta.org/svn/ehcache@9447 b9324663-ca0f-0410-8574-be9b3887307d