https://issues.apache.org/jira/browse/AMQ-5352

Applied and tested, all tests still passing after this change.
https://issues.apache.org/jira/browse/AMQ-5354 - patch applied with thanks
https://issues.apache.org/jira/browse/AMQ-4705 - verify lock sanity on acquire so master cannot start and immediatly fail with a keepalive failure
https://issues.apache.org/jira/browse/AMQ-5121 - use jmxLocal in karaf only for jmx-based commands
improve trace logging on failure and tidy up future - try to nail down intermittent duplex bridge half start
fix deadlock that blocks remote broker start in duplex case with durable sub recreation on restart - dynamicOnly=true works around
avoid npe on network bridge failure, dispose when not started on vm transport
https://issues.apache.org/jira/browse/AMQ-5381

Apply fix and test for error when restoring old content and treating it
as compressed when it was not.