Puppet 3 compatibility and warning cleanup.
Corrected spelling.
Merge pull request #31 from foonix/master

Puppet 3 fixes, cleanup