(maint) Add vendoring support to puppet

This adds vendoring support to puppet based on the implementation in
mcollective.
Merge pull request #1542 from hlindberg/vendor

(maint) Add vendoring support to puppet