Added Puppet Function Snippets

Hi,

This patch adds useful helper puppet function snippets (http://docs.puppetlabs.com/references/latest/function.html).

These are useful when developing puppet code.

Thanks,

Peter