Fixes for puppet 3.6.2 and strict_variables = yes

Also adds travis testing for these features.
ditto