Extended process lib to allow storing data per process, using it for io lib to store processes' stdin and stdout instead of the local hackaround.
Preparation for #634.
Won't go through with it yet because it requires some more adjustments, e.g. set can't remain a program, will need to be a shell builtin; in general, programs relying on setenv being global will break.