Enable watchdog and heartbeat LED

If scheduling stalls make sure watchdog bites and restarts the system.
Also implement heartbeat indication on red debug LED and outputs reset
reason on UART when booting.