Make the range function work with integers

This is needed for the future parser which actually treats numbers as
numbers and strings as strings. With this patch you can use range(1,5)
instead of having to quote them like range('1','5').

Build on https://github.com/puppetlabs/puppetlabs-stdlib/pull/364 which is just a style fix.