include build-essential and git in platform family recipes

This will make sure the recipes are only included on the appropriate platforms.
add recipe for `mac_os_x` platform family
move github related tweaks into their own recipe
Ensure Homebrew is installed and available on `mac_os_x`