Merge pull request #1814 from jbertram/2.4.x

HORNETQ-1395 - Misrepresentation of connection.createSession
Bug 1132196(HORNETQ-1389) - JGroupsBroadcastGroupConfiguration Serialization Problem
Merge pull request #1829 from gaohoward/2.4.x_HORNETQ-1389-2

Bug 1132196(HORNETQ-1389) - JGroupsBroadcastGroupConfiguration Serialization Problem
HORNETQ-1406 - Correctly handle direct buffers when detect protocol to use

Motivation:

The current code did not work with direct buffers as this expected to be able to access the backing array.

Modifications:

Read directly into a byte array and so make it work with all flavors of ByteBuf.

Result:

No more UnsupportedOperationException when direct buffers are used.
Merge pull request #1835 from clebertsuconic/2.4.x

back port HORNETQ-1406 from master
https://bugzilla.redhat.com/show_bug.cgi?id=1141873 - leak on PagePositionImpl
Merge pull request #1840 from clebertsuconic/2.4.x

https://bugzilla.redhat.com/show_bug.cgi?id=1141873 - leak on PagePositionImpl
HORNETQ-1342 - Clean up DuplicateIDCache on queue removal
https://issues.jboss.org/browse/HORNETQ-1342 - check for empty id map
HORNETQ-1342 - Clean up DuplicateIDCache for bride use-cases as well