Add TimeUtils::durationToSeconds() helper

In preparation for maxage strtotime format support