remove homebrew-fork class Tty

* migrate into our codebase at lib/cask/utils/tty.rb
* merge with our monkeypatch
Merge pull request #8390 from rolandwalker/remove_homebrew_tty

remove homebrew-fork class `Tty`