Purge plugins

I ran into a couple of errros when trying to use the collectd_purge_plugins function. I updated the function and the README to explain how to use it.