Messaging: Adds dead letter queue support.

This adds support for polling the dead letter queue, if that has been configured in
the AWS console. If the URL to a dead letter queue is specified, the dead letter queue
will be polled every 10th poll attempt.