Listen for AMQP Exchange's close channel in a separate goroutine than
we do our publishing so we don't deadlock during a Publish call during
shutdown. Also fix small bug in `application/hekad` type message
handling in AMQPInput.
Update tests accordingly.
Merge pull request #1125 from mozilla-services/aqmp_stability

Fix AMQPOutput deadlocks at shudown.