Improve error handling of Theodolite
This applies in particular when running in a Kubernetes job. For example, trying to access Kubernetes resources in a not-allowed namespace results in errors, which are not properly caught. This should be considered for #101 (closed).