Add pre and post install hooks

Some platforms may have hardware watchdog enabled
in bios, and with facility to allow software to
set 'next-boot-device'.

The pre and post install hooks added here can
be used for platform specific routines, such as
reset hardware watchdog, set next-boot-device
in bios after successful onie installation.

Testing Done:

Tested on x86_64 platforms.