try to find cygwin bash automatically

- supports msysgit as well as "vanilla" cygwin
- ensure absolute path (%:p:h instead of just %:h)
- todo: verify mac_open_terminal()