Fix race: we could clean the tokens and get a response after.
which would lead to an bogus exception and error message at replicated().
added reference counting to shutdown pools when no connectors
HORNETQ-1141
Deadlock involving hornetq-failure-check-thread
Merge pull request #932 from gaohoward/master

HORNETQ-1141
HORNETQ-720 No sync's at the replicating backup during normal operation
OperationContext counters: int --> long
Merge pull request #934 from andytaylor/master

added reference counting to shutdown pools when no connectors
Merge pull request #930 from FranciscoBorges/replicationSync

Replication no-sync, +operationContext counters, +severe clean up at the replication code
fixing duplicate queues and some small tweaks