variation on https://issues.apache.org/activemq/browse/AMQ-2626 - add vmcursor eviction test, shows similar issues also fix potential hang when connection is shutdown and producer is waiting for space in pending messages