Added script which handles kernel upgrades.

This fixes #88 and #89.
Part of the code was taken from goranche's pull request #95 .
it might be a good idea to add a newline before the "kernel=...", just in case the current config.txt doesn't end with one
(the same goes for the initramfs below)