Add new kubectl.py functions, modify some libjuju.py functions, add unit tests