remove hard-coded value

In the future, this constant should disappear anyway.
don't check for exact buffer name

This is unnecessarily retrictive. check for compatible major mode instead.
fix issue 628

magit-log-author-date-overlay wasn't buffer-local
Merge branch 'issue-628'