Vendor concat function to support stdlib 3.2

Many installations are pinned to stdlib 3.2. This change vendors
the concat function from stdlib 4 until Puppet Enterprise
catches up. At that point the vendored function will be removed.

Change-Id: Ifae939292c7d03b62aa62f205109409c26e9503d