Major refactor: use better names, add tests for BrewCLI, dry-run, and quiet logger for testing.