Merge pull request #12 from gogojesse/scheduler_dev

1. Fix timer interrupt clear issue 2. Clean up the test/debug code from scheduler.
Clear test code.

Signed-off-by: gogojesse <gogojesseco@gmail.com>
changeable scheduler variable.

Signed-off-by: gogojesse <gogojesseco@gmail.com>