Move common kickstart_test code out into its own functions.sh file.
This is primarily motivated by the fact that you need to provide your own
disks now. If you need to do something fancier than the default basic
stuff (which most tests shouldn't), you source functions.sh and then
provide your own definition.