Merge pull request #858 from FranciscoBorges/documentation

Document unusual code, fix spelling in method's name
HORNETQ-1134 Spec group confirmed the motivation for these changes as a typo.
http://java.net/jira/browse/JMS_SPEC-114
Merge pull request #859 from FranciscoBorges/smallFixes

HORNETQ-1134 Spec group confirmed the motivation for these changes as a ...
https://issues.jboss.org/browse/HORNETQ-1137 Removed some synchronized blocks allowing delivery while consumers are hanging on delivery
avoiding NPE on RA
Fixing tests that were eventually failing
Merge pull request #860 from clebertsuconic/master

HORNETQ-1137 and a test fix
HORNETQ-720 Call page.sync() instead of page.close() at replicationEndpoint
clarify need for stopping replicationEndpoint
Add text to test assertions.
Merge pull request #861 from FranciscoBorges/lineUp2

Fix paging/replication bug
HORNETQ-1128 Use parent's 'linkend' value only when element does not have one