update spec tests

so that they pass
also adds puppet-lint to the Gemfile
resolved all lint warnings

which actually fixed some bugs