We are very likely to re-use the k8s api code in many/all of the tests, so move common code out to a common libray file. Signed-off-by: Graham Whaley <graham.whaley@intel.com>