* Fix repo parameters to only use 'ensure' when Puppet >= 3.5.0
* Update unit tests to check puppet version dependent parameters are being set