Rely on exported constants rather than local definitions

The capsicum-linux kernel code includes definitions for
Capsicum syscall numbers and errno values.
Emit error information if cap_new() gives bad fd
Reinstate various tests for particular syscalls
Add tests for a bunch more syscalls