Add ability to test plugins outside of collectd

This change adds a collectd_fake.py module that mimics the Python
module exposed by collectd. With a few changes to the plugin code, it
allows to run plugins from the command-line. The first enabled plugin
is http_check.

Change-Id: Ica9db6be04bcbd10d955f7afae4cab58d771c189
2 files changed