Add time awareness in featuretree (needed in lubis)

This PR adds time awarenes in feature tree. Note that this is currently only needed for lubis.