Check return code in rabbitmq module

For commands that may return non-zero status without the word "Error" in their stdout, retcode is now checked by using cmd.run_all.

This intends to address #9944