removed duplicate inISR prototype
simplified sched_switch

sched_switch can check ISR itself.
Merge pull request #713 from OlegHahm/sched_switch_simplification

core: move inISR check into sched_switch