Improve rabbitmq type acceptance tests

This patch adds checks for idempotency and improves the shell command
syntax to contain one test at a time and use rspec tools to check
output and exit codes.
Merge pull request #2 from cmurphy/fix_266

Improve rabbitmq type acceptance tests