Move most new rabbit driver code into amqpdriver

All of this code should be reusable by the rabbit driver.

Change-Id: Ib09e467313c9b68f1eba6b615e6fce83f44fee70
Merge "Move most new rabbit driver code into amqpdriver"