(#20548) Allow an array of resource titles to be passed into the ensure_...

...resource function

This patch allows an array of resource titles to be passed into
the ensure_resource function.  Each item in the array will be
checked for existence and will be created if it doesn't already
exist.

This is associated with [feature request #20548](http://projects.puppetlabs.com/issues/20548)