Added a --binpath param specify which gettext binaries to use. Especiall...

...y useful for OsX Users.
Please keep `else if` in the same line with `} {`. There are also other CS issues, I suggest running `php-cs-fixer`.