reverted equals and hashCode methods for ServiceActorRef as the string version is not cluster aware so the master election code was failing.
Also added a fix proposed by Bogdan Dumitrescu for the TestActorSystem to be able to inject a Spring annotation configuration class to inject mocks into the test ActorSystem