Fix TISTUD-6696 Installing Studio dependencies fails when user has never run sudo before
  - don't just read first line of output from sudo invocation. Read from stream while it's "ready" (won't block) until we see our echo message. Then bail out successfully. Otherwise if we hit point where no output is available and we haven't seen the expected successful echo message, then we kill the process and fail.
Merge pull request #217 from sgtcoolguy/TISTUD-6702

TISTUD-6702 Allow updates from secure locations
Merge pull request #216 from sgtcoolguy/TISTUD-4119

Fixes related to TISTUD-4119 Improve beta/rc update process