added local commands for waiting on tcp ports to open/close
various, renamed wait functions, fixed PORT bug
added wait for port 5000
clean remote results by default
move remote cleanup to after after_final_test_remote is run
fix names