Refactor - try to create rabbitmq connection before each message.
Read id_conf just in time for every connection attempt
fix lurking variable scope bug
innoculate against further globals leakage
Merge pull request #23 from mikemccracken/rabbit-retry

Retry connecting to rabbitmq at each message
Merge pull request #24 from Ubuntu-Solutions-Engineering/master

Merge in 'rabbit-retry' from master