allow array of dependencies

sometimes a class wants a set / list / variable number of objects in an
attribute of type `ArrayRef`. This commit allows you to pass an arrayref
of things that can be coerced to `::Dependency` as the value of the
`->dependencies` attribute of a service doing `::WithDependencies`; see
`t/array_deps.t` for an example