Move code to CGitLogListBase

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Show button instead of log list context menu for "Search log messages"

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>