fix for: https://issues.apache.org/jira/browse/AMQ-4740
https://issues.apache.org/jira/browse/AMQ-4820 - find elements by ns and local name to deal with namespace prefix. Ensure we trap all errors on plugin start so we don't cause a failed broker start, and trap no broker element with a better error
fix for: https://issues.apache.org/jira/browse/AMQ-4822
Fix for https://issues.apache.org/jira/browse/AMQ-4823 NetworkConnector not registered in JMX when created from Broker View + unit tests
https://issues.apache.org/jira/browse/AMQ-4821 - refix; we now use any referenced factorybean for default properties
remove unneeded deps that pull in older amq versions
Add a toString() method to the replicated leveldb store so that it displays a nicer message when the broker starts it up.
https://issues.apache.org/jira/browse/AMQ-4471 - Fixing bug where stomp ws example allows remote JS execution.
Fixes https://issues.apache.org/jira/browse/AMQ-4840 - Invalid STOMP frame sent on websocket connections with heartbeats.
Makes it easier to launch activemq from an IDE in debug mode.
Only register the leveldb store MBeans in JMX if jmx is enabled on the broker.
Working on a test case for https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.
AMQ-4433: Validate socket.xxx transport connector options, to detect invalud/unused options and fail. Thanks to Christoffer Sawicki for the patch.
Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.

- Log rotation was causing a pre-mature index snapshot to be taken on the slave (snapshot while the slave was still synchronizing).
- Also fix issue with the append position displayed in JMX for the master not being correct.
https://issues.apache.org/jira/browse/AMQ-3725 - allow kahadb to recover from failed file system
https://issues.apache.org/jira/browse/AMQ-4832 - apply patch from Matthew Walker with thanks
AMQ-4841: Fixed JDBC leased locker to allow being configured in any order in the XML file, being able to use the defined statemnts. Otherwise you would have had to define the locker last in the XML file. Thanks to Pat Fox for the test case.
https://issues.apache.org/jira/browse/AMQ-3725 - close delegated file only if not null
Fix for: https://issues.apache.org/jira/browse/AMQ-4837 : LevelDB corrupted in AMQ cluster.

- The tracked flushed offset was not getting initialized to match the initial size of the log file.  This invalid flushed offset was being used to do the initial sync /w the slave and then things went downhill.
AMQ-4668: REST API only accepts non-form content if content type of text/xml