test/helpers: gather more K8s metadata
test/helpers: gather more K8s metadata

* Get output in JSON for K8s-related objects in K8s log gathering functions.
* Get replicationcontroller and deployment data.

Signed-off by: Ian Vernon <ian@cilium.io>

tgraf/cilium,tklauser/cilium,scanf/cilium,tklauser/cilium,cilium-team/cilium,eloycoto/cilium,tgraf/cilium,eloycoto/cilium,tgraf/cilium,scanf/cilium,scanf/cilium,michi-covalent/cilium,eloycoto/cilium,cilium/cilium,eloycoto/cilium,michi-covalent/cilium,eloycoto/cilium,tgraf/cilium,cilium/cilium,scanf/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,tklauser/cilium,scanf/cilium,michi-covalent/cilium,michi-covalent/cilium,cilium/cilium,tgraf/cilium,tklauser/cilium,tklauser/cilium,eloycoto/cilium,eloycoto/cilium,scanf/cilium,tgraf/cilium,scanf/cilium,cilium-team/cilium