gitweb: Refactor 'log' action generation, adding git_log_body()