Add bash completion for g

Thanks to @pableu (see mathiasbynens/dotfiles#197 for details)