https://issues.apache.org/jira/browse/AMQ-4930  - limit browse page in iterations in case cursor and store are out of sync - avoid a spin when store does not return messages
fix off by one in this unit test
ensure vm transport is started in this test so that stop does some work
rework npe avoidance in vmtransport stop to resolve thread leakage test failure
https://issues.apache.org/jira/browse/AMQ-5266 https://issues.apache.org/jira/browse/AMQ-4485 - store has messages must be aware of pending also kahadb setBatch for async sends. additional tests and tidy up of cusror sync with store to reflect async/sync additions
run leveldb tests on osx