Added a few extra debug logs
Using self.debug/fail instead of raising PuppetError or calling the logger directly. This will automatically insert the useful resource identifier in the log message.
Merge pull request #6 from ryanuber/debug_log

Logging enhancements