Ensure homebrew installed before installing plugins

The `installing` helper would not work outside of the context of the
`setup_dot` function, since `DOTSETUPTYPE` is set in only that context.

Move the loading of the Mac-specific helpers into `setup_dot` to fix
this.