Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls. Move SYS_PREEMPT_CONTROL to ddi.c. Add some comments and fix some small issues.