Make the classes pass most of the puppet-lint checks

This also changes tabs to spaces.