Make client.rb cleaner and scalable

Also add some checks for null node attributes and a python plugin
to collect rabbitmq metrics

Change-Id: Ia294ad7b53bbd13258002450cc4557963e2678db