Add prefix function and tests, from Puppetlabs stdlib
Merge pull request #30 from bkkrw/master

Add prefix function and tests, from Puppetlabs stdlib