add number detection to code
before this commit, specifying a number in puppet manifest would result
in string passed to ruby code:
{'this_is_an_int' => 123} would yield ThisIsAnInt "123" in collectd
update documentation to reflect changes