PTFM-12951 Move EE dependency installation code into dxpy

@psung, please review.

This is the SDK portion of the move. The EM/EE portion will involve deleting the EM code and changing dx-prepare-exec-env to use this code.

Also some minor formatting changes, and a change to dx-log-stream to remove code that is unneeded after dx-exec-helper changes (which will land together with the other EM/EE changes above).
That's outside the scope of how I intended these tests to work - I can detect improper grouping by running two assertions one after another. Feel free to change it though.