Added some automation for X OS setup

Taken from https://github.com/alecthegeek/brewFile
Merge pull request #34 from alecthegeek/patch-1

Added some automation for OS X setup.

Thanks @alecthegeek for the updates to make this easier.