Implement kexec-hardboot

First attempt, untested

I was feeling lucky on few places