Fix #1

Fix s:get_git_dir for old version git
Refactoring bufwin

log_winnr, stat_winnr ... are added.
Fix: log window width is sometimes wrong