PendingIndexCheck CheckTime helpers

test-fdb-delayed-uniqueness has been failing for me intermittently.

test-fdb-delayed-foreign-key uses the special DELAYED_ALWAYS_UNTIL_COMMIT to avoid the race but there wasn't a similar version for WITH_RANGE_CACHE. Add it, along with some helpers to simplify usage.