Numerous additions to "brew cask doctor"

New versions, paths, environment variables, and tests.
Side effect: release version must be stored in two locations.
Merge pull request #2418 from rolandwalker/doctor_version

Numerous additions to "brew cask doctor"