Refactor QueuePublisher and tests.

Simplify the tests to avoid having to stub all the different layers
within Bunny.  Also move all the rabbitMQ connection setup into a
separate method.