switch to use http api to collect statistics

some people including me met with the following problem while
using rabbitmqctl inside collectd python plugin to collectd statistics:
https://github.com/phrawzty/rabbitmq-collectd-plugin/issues/5
http api seems to be a clean way to collect the information.