#1799 add a shared KubernetesState object to keep hold of the namespaces and selection across views/controllers so its a bit easier to work across templates/views