Add messages for failed commands and status codes

Return the number of failures as exit code
Check that homebrew is installed first