Improve checking for Cloud Queue message IDs.

The previous regex failed if the queue name contained a "-".
Merge pull request #2820 from jcollie/cloud_queue_message_id

Improve checking for Cloud Queue message IDs.