(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