execute ssh commands on the remote machine in a bash login shell

this was causing problems with homebrew paths not being set up
properly. This bit of magic code was pretty hard to write, but
surprisingly very simple once it was done.
update method for running tests

the previous code was just junk/temporary anyway
add support in  ssh task for running commands

... directly from the command line