[plugin] backport collectExtOutputs and addCopySpecs

Backport the plural collection methods from upstream. This
simplifies plugin backports (simple search-and-replace rather
than converting a list argument into multiple function calls).
[openshift] sync plugin with upstream
[activemq] backport new plugin from upstream
[mongodb] backport new plugin from upstream