IT WORKS!!!

The shim is no longer passed in as a heredoc because it blocks
stdin. Now the shim python script can be passed into the ssh shell
command and can block! This means that it can prompt the calling
salt-ssh proceess to request extra data. this allows for the
download and update of the ext_mods, but as we move forward it
should allow for the thin deployment to all be in a single command
and not need any scp of sftp, this will also allow us to do bi-derectional
state transactions, maybe even distributing the compile process
which would make salt-ssh even faster