[Podfile::DSL] Allow link_with targets to be passed as the arg list instead of an array

Also adds spec coverage to ensure backwards compatibility with the
array style.