Change declarations of "notify" type to calls of the debug() function

Since "notify" writes messages to the agent log, the Puppet Enterprise console intreprets it as a configuration change, even when nothing changed. This can make it hard to see what really changed betwene runs. Using the debug() functions fixes this, since it only logs on the master.