Fix committing with fugitive => stuck file status

Fixes #482 (I hope)
Merge remote-tracking branch 'kovidgoyal/fix-482' into develop
detect script directory to make bash and zsh usable without having `powerline` in `$PATH`