Add files for testing

Adds files that are required for adding rspec-puppet
and puppet-lint tests.
Puppet-lint refactor

These code changes are both style and bug-fix refactors.

All of the changes were made in order to remove all failures
and warning from puppet-lint.