creating ttl index on history colls

Rename expireAfterSeconds to expireHistoryAfter. Add doc comment to this method describing what this parameter does and what happens when it is not set.