HORNETQ-720 Fix server.stop() w.r.t. replication
Merge pull request #941 from FranciscoBorges/stop-order

HORNETQ-720 Fix server.stop() w.r.t. replication