Thread new IRQ api

Addresses comments from https://github.com/RIOT-OS/RIOT/pull/1889
According to the documentation of `sched_switch` it already implements the `inISR` distinction which is reimplemented above.