Add homebrew.sh to install Homebrew.

We want to be non-interactive, but the suggested script at [https://github.com/Homebrew/homebrew/blob/go/install] is interactive. So we use the same technique, but assume that our own scripts will handle all the dependencies. (Unfortunately, we do need some interaction to get the password for sudo.)