Update gen-stub to generate header file.

If no header file, all function is assumed that recieved some int
arguments and return int.

But there is non-int functino.

 e.g:

 void f(unsigned long x) { ... }
Update IDL: gnttab/sched
Rewrite thread scheduler by Haskell