(gh-85) Fix null versioncmp bug in plugin templates

If the collectd_version fact returns null then
the versioncmp function throws a ruby error. This
commit add checks to see if it is null before calling
versioncmp.

Fixes #85
Merge pull request #87 from pdxcat/gh-85

(gh-85) Fix null versioncmp bug in plugin templates