add support for perl plugins

Working version, would appreciate the review.
TODO:
* rspec tests
* smoke tests for package and cpan providers (untested)
You can use the `collectd::plugin` resource here