QPID-4733: Fix cmake installation of init scripts

- Install both qpidd and qpidd-primary init scripts.
- Fix path substitution to use absolute paths.
- Fix substitution to work on cmake and automake.
- Set executable permissions for init scripts.
- Do init script install on Unix only.

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469050 13f79535-47bb-0310-9956-ffa450edef68
QPID-4734: Release builds fail on GCC 4.4.7 / Boost 1.41
Use pragma to turn off unavoidable unitialised variable warning under all
patchlevels of gcc 4.4

Merged from:
https://svn.apache.org/repos/asf/qpid/trunk@1466615
https://svn.apache.org/repos/asf/qpid/trunk@1469559

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469579 13f79535-47bb-0310-9956-ffa450edef68
QPID-4676: set the certificate alias to use for the client to ensure the test behaviour is deterministic, the keystore has 2 certs and different JVMs can select differently as to which is used by default, resulting in test failure on certain platforms.

merged from trunk r1464938


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469856 13f79535-47bb-0310-9956-ffa450edef68
QPID-4725 : [Java Broker] HTTP Management GUI Connection and VirtualHost tabs do not show user associated with connection

merged from trunk 1465457


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469857 13f79535-47bb-0310-9956-ffa450edef68
QPID-4726: [Java Broker] AMQP 1.0 : Improve SASL support

merged from trunk r1465459


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469864 13f79535-47bb-0310-9956-ffa450edef68
QPID-4705: Restrict access to web management interfaces to authenticated and authorised users only

merged from trunk r1465590


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469865 13f79535-47bb-0310-9956-ffa450edef68
QPID-2789 : [Java Broker] Prevent additional messages being enqueued after a queue is deleted.

merged from trunk r1466482


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469872 13f79535-47bb-0310-9956-ffa450edef68
QPID-4739: complete support for defining multiple key/trust stores and assigning them on a port-specific basis

merged from trunk r1467334


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469881 13f79535-47bb-0310-9956-ffa450edef68
QPID-4739: add ACL tests for new TrustStore + KeyStore objects

Also some small fixups from secondary review: correct exception messages, remove unused imports, tweak a unit test, add a couple of missing licence headers

merged from trunk r1467922


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469884 13f79535-47bb-0310-9956-ffa450edef68
QPID-4741: add command line option to request overwritig existing broker config store with current initial config file

merged from trunk r1467930


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469898 13f79535-47bb-0310-9956-ffa450edef68
QPID-4742: add option to create a copy of the initial config file, either at a specified location or as initial-config.json in the current directory

merged from trunk r1467932


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469900 13f79535-47bb-0310-9956-ffa450edef68
QPID-4390, QPID-4743: configuration improvements from review

- Rename the embedded initial config file to initial-config.json
- Ensure the default vhost store path is unique by including its type and vhost name.
- Rename ports to remove the port number.
- Remove leftover systests config.xml file.
- Stop shipping unused virtualhosts.xml in example config to reduce confusion

merged from trunk r1467938


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469904 13f79535-47bb-0310-9956-ffa450edef68
QPID-4390, QPID-4743: generate ID's randomly at startup, for the broker and direct children in the configuration file

makes ID generation behaviour consistent with that for objects added via the management interface

merged from trunk r1467940


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469906 13f79535-47bb-0310-9956-ffa450edef68
QPID-4731: Implemented JMSSelectorFilter equals() and hashcode() to avoid leaking topic queues. Previously TopicExchangeResult._filteredQueues look-ups in TopicExchangeResult.removeFilteredQueue were erroneously failing, causing the queues therein to evade deletion during topic consumer close.

merged from trunk r1468815


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469909 13f79535-47bb-0310-9956-ffa450edef68
QPID-4731: Added additional system test DurableSubscriptionTest#testUnsubscribeWhenUsingSelectorMakesTopicUnreachable that surfaced the defect

merged from trunk r1468816


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469910 13f79535-47bb-0310-9956-ffa450edef68
QPID-4746, QPID-4747: remove the defaultAuthenticationProvider attribute from broker and add an overriding authentication provider for management mode

merged from trunk r1468830


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469915 13f79535-47bb-0310-9956-ffa450edef68
QPID-4746, QPID-4747: Complete partial change in previous commit

merged from trunk r1468875


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469918 13f79535-47bb-0310-9956-ffa450edef68
QPID-4747: Remove defaultAuthenticationProvider field from broker attribute editing form

merged from trunk r1468953


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469920 13f79535-47bb-0310-9956-ffa450edef68
QPID-4746, QPID-4747:Fix the tests failing on IBM JDK

merged from trunk r1469256


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469922 13f79535-47bb-0310-9956-ffa450edef68
QPID-4754: Make broker name editable and show it in the browser title

merged from trunk r1469914


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.22@1469938 13f79535-47bb-0310-9956-ffa450edef68