detect need for "brew cleanup" in doctor

User will receive a warning if more than one copy of Homebrew-cask
is installed.

References: #4857