Refactor Sphinx installing

Move gist of brew formula into this repository