OSX support for homebrew environment

This request provides OSX support for homebrew environment.

I have created homebrew formula but homebrew policy requires tarball release.
It would be nice if you could create one (by tagging commit) after this request is merged.

Thanks.