QPID-5409: Add basic state management on local replication node and add ability to set the node state

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha@1567942 13f79535-47bb-0310-9956-ffa450edef68