Merge pull request #1854 from clebertsuconic/upmaster

Fixing a few tests with issues on asynchronous .getMessageCount
fixing javadoc
Merge pull request #1855 from clebertsuconic/upmaster

fixing javadoc
fixing more tests with .counter issues on asynchronous
Merge pull request #1856 from clebertsuconic/upmaster

fixing more tests with .counter issues on asynchronous
HORNETQ-1125 Added ServiceRegistry to Server

https://issues.jboss.org/browse/HORNETQ-1125

This patch adds an ServiceRegistry which stores references to
objects that are intended to be injected into HornetQ server.  This
allows WildFly to inject objects that Wildfly is responsible for
managing such as ExecutorServices. In addition Wildfly is able to create
objects in it's own class loader such as Intercepors and
ConnectorServiceFactories and inject them into HornetQ.  This means that
the HornetQ class loader does not need to be aware of the various
dependencies require to instantiate these objects.