Merge pull request #1004 from andytaylor/master

partial revert to cleberts commit
Fix https://bugzilla.redhat.com/show_bug.cgi?id=901137 Server shutdown during reconnect/failover

3 small (roughly independent) changes:
- HornetQRAManagedConnection: skip manually closing sessions and rely on ClientSessionFactory.close()
  for it. In practice, we do this by just closing the connection.
- HornetQRAManagedConnection: sends signal to stop failover on destroy to ClientSessionImpl
- ServerLocatorImpl to call causeExit() on all its ClientSessionFactories BEFORE calling close.
add test for null storageManager (why is it missing?)
Merge pull request #1005 from FranciscoBorges/shutdownOnReconnect

Shutdown on reconnect
Fix some naming warnings
add message to test assertion
Remove a sequence of unnecessary "throws Exception"
Merge pull request #1007 from FranciscoBorges/smallFixes

remove unnecessary throws exception
Fix https://bugzilla.redhat.com/show_bug.cgi?id=927236 remove lock on PageSubscriptionImpl
Reasoning is as follows:
- the method just forwards the call to getPageInfo(boolean, long) which
  is /not/ synchronized on PageSubscriptionImpl but which synchronizes
  on "consumedPages".
- for all I can tell, at PageSubscriptionImpl.getPageInfo(*) we really
  only need to synchronize on consumedPages.
Merge pull request #1006 from FranciscoBorges/master

fix the dead-lock bugzilla
On IOError, pass criticalIOError=true when stopping the server
Related to https://bugzilla.redhat.com/show_bug.cgi?id=916625
Should not be using lock()/unlock() here (as that one eats an interrupt)
Quick doc formatting update
Merge pull request #1009 from jbertram/master

Doc update
Fix docs build on Windows. The issue seen is https://github.com/pressgang/jdocbook-core/issues/17. The suggested workaround works for us.
Merge pull request #1011 from gaohoward/master

Fix docs build on Windows.
Merge pull request #1008 from FranciscoBorges/master

On IOError, pass `criticalIOError=true` when stopping the server
dont stop failback checker when failing back