Add timeFormat.multi.

Given an array of format strings and corresponding predicate functions, returns
a time format function that tests the input date against each predicate
function, using the first format that returns true.