(maint) Add vendoring support to puppet

This adds vendoring support to puppet based on the implementation in
mcollective.