Initial implementation of watchdog timer
Rebuild sources.mk, fixed compiler errors on new sources