Cache the results of 'command_exists'
Remove the 'sychronizing package archives' message when no packages need dls
fix running processes with closed stdin
Removed a bunch of redundant syscalls

'strace opam search xxx | wc -l' down from 18669 to 13895.
Just felt dirty to have the same 'stat' call 4 times in a row.