Improve Mavericks CLT installation usability.

* Install before Git is used.
* Warn about the GUI popup.
* Block on user input until installation finishes.
Update CLT link.
Change "mxcl/homebrew" refs to "Homebrew/homebrew"

Closes #24355.
Fix version comparison for 10.10+