Add support for emergency hooks
Currently I'm working on integrating Plymouth (the boot splash screen) with mkinitcpio. In order to do this, I need a new hook called 'emergency'.
This allows boot splash screens to terminate their process on boot failure, so users will notice the failure. The hook will run before the error message printed and the emergency shell launched.