Create a commit-info directive that's shared between the commit list and the test history list.

Test Plan: make test, manual

Reviewers: cramer

Reviewed By: cramer

Subscribers: nipunn

Maniphest Tasks: T10538

Differential Revision: https://tails.corp.dropbox.com/D59513