Implemented TimedLife trait.

Closes #5724.

Replaces RemovesImmediately.
If the ticks are left on the default of 0, it acts exactly like RemovesImmediately.