scheduler: use proper inttype for runtime, use import instead of declaration

define runtime long as hwtimer_now() uses long
import hwtimer.h instead of declaring hwtimer_now()