fix debug handling
only include debug functions if needed
get flags for objcopy from platform dependent includes
add thread_getname function
fixes startup code and adds proper irq handler for mc1322x
changed CFLAGS to CFLAGS_BASIC (no -mthumb flag)
adjust objcopy flags
remove isr.c to change interrupt handling to VIC model
added basic install_irq function
change to the mc1322x IRQ handling
since mc1322x lacks a VIC this is a kind of SW VIC with low latency and
compatibility to the VIC API in mind.