Fix crash when running dx-run-app-locally interactively
Add -y to dx-run-app-locally

Test Plan: Updated unit test

Reviewers: psung

Reviewed By: psung

Differential Revision: https://phabricator.dnanexus.com/D73
Unwrap sys.stdin when running getpass

This is necessary on Windows, where the getpass implementation will
otherwise fall back to a method that echoes the password in the
terminal.
Merge remote-tracking branch 'origin/master' into bash-helpers-parallel
Needed for fixes to dx-run-app-locally issues.
Fixed code review by Andrey and Phil