Jenkins : Boot failure hook

Starting 1.541, when Jenkins encounters a fatal problem during boot, it'll invoke "boot-failure" hook script to allow automatic corrective actions to be taken (such as notifying somebody, raising alerts, restarting, and so on.)

These scripts get the cause of the problem as the "exception" variable when run.