fix calls to Puppet.warning

Was using Puppet.warn instead which is a private method and
raises an exception. Who thought it was a good idea to give Puppet
it's own logging methods that are inconsistent with the Logger
ones?
Merge pull request #79 from gavin-scott/fix-warn

fix calls to Puppet.warning