Add TimeUtils::durationToSeconds() helper

In preparation for support of relative format in smaxage and maxage directives in Cache annotation