Update check-rabbitmq-queues to parse via Ruby

We had previsously been shelling out to parse the output of the rabbit
queues check.  As this was getting a bit hairy, do this with Ruby
instead.