First stab at doing basic/clean encode/decode at program edges.
First stab at doing basic/clean encode/decode at program edges.

Plus related tweaks to comments/docstrings so we use 'encode'/'decode'
more correctly...hopefully

NOTE: the integration tests about 'funky stdout' continue to fail.

mkusz/invoke,mkusz/invoke,pfmoore/invoke,pfmoore/invoke,pyinvoke/invoke,pyinvoke/invoke