RIOT-OS/RIOT — pull request #1841 by Kijewski (2014-10-18 16:44:40+00:00)
Title:  core: refactor sched_run

`sched_run()` was cluttered, changed changed without refactoring a lot.

Rebased on #1836.