Fix a bug where PTYSession's weren't -terminate'd when a PseudoTerminal closes if they'd already had a brokenPipe causing EXIT to be set
Merge branch 'v2' of https://github.com/gnachman/iTerm2 into v2