Tests and lint

Fix for https://github.com/boxen/puppet-shiftit/issues/2 and https://github.com/boxen/puppet-shiftit/issues/1

@jlgeering mind having a look?

You can test it by running `script/cibuild` and specs and lint should be green :+1: