Changed assertions to use test framework assertions
Fixed SKIP_REMOTE_STORE to only mean when persisting entries
ISPN-4820 Change Size method on Cache to return the contents of the
entire cluster

* SizeCommand now uses entry iterator
Test that replaying a prepare command doesn't acquire the lock twice