FFI: Fail on duplicate jobref.
FFI: Bounded retry on stdin buffer overflow
API changes: jobargs are now the only method of passing job parameters
FFI: fix the 100% CPU usage, more debug
Honor stdin_sz parameter
Makefile: enable 'debug' option for tests