This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one).