ENG-1147: fix ClassCastException: [B cannot be cast to net.sf.ehcache.transaction.SoftLockID + prevent 'pinning leaks'

git-svn-id: http://svn.terracotta.org/svn/ehcache@8825 b9324663-ca0f-0410-8574-be9b3887307d
ENG-1147: reset the clock evictor's accessed flag to true when a pinned element is being removed

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