Add some infrastructure to aid kickstart management.

It is now possible to generate new kickstarts from templates. Support is still
very limited and implementation is quite naive, but it seems to work.