Makeflow / Work Queue Environment Take 2

Replaces #636
Note that submit() and submit_simple() are now combined into one, since submit() was not used anywhere. Hence, no explicit handling of stdin, stdout, and stderr, they are simply reflected in the sh command line.