fix overflow on integer multiplication when scheduling TTL eviction
more refactorings for avoiding further overflows
Merge pull request #2304 from eminn/fix/TTLOverflow

Fix/ttl overflow