Remove UTF-8 BOMs and clean up whitespace

The BOMs (Byte Order Marks) at the beginning of Ruby files caused Puppet
3.4 to error out.
Merge pull request #2 from pkkm/master

Remove UTF-8 BOMs and clean up trailing whitespace