Adding a script to install kernel on image and disks

Fixed typos and changed apt-get and yum to use -y. Also fixed errors in cleanup code.
Added support for pointing to a running instance.