Fix class name
Fix Homebrew installation

Install to `/usr/local/` for the sake of compliance with upstream
Replace Homebrew defined type with Homebrew provider
Fix Homebrew package provider

Determine the Homebrew user by looking at the owner of the Homebrew
prefix.
Install Homebrew to /usr/local
Only switch user if necessary
Fix type error

We need to really create provider instances
Strip before matching
Properly split version output of brew
Access resource by getter
Make cwd a required parameter
Delete superfluous defined type