Add support for applying set of resources via kubectl

Discussion: https://github.com/GoogleCloudPlatform/kubernetes/issues/1905
Does this work for YAML, also, or only JSON?