Read upto 32 returned wire_io results
Code generation for the syscalls part in wire_io

This should make it dead-simple to add new system calls and libc calls
to make them work asynchronously. Removing the manual labour and the
chance for errors.

In addition this fixed a few return type inconsistencies for good
measure. Some not-strictly-int's were returned as int.