ENH new tuple features in rst_dt

As a first step towards enriching the set of features extracted from RST-DT, I wrote functions to generate "tuple features".
Most of the code is mere reuse or adaptation of existing parts in STAC's feature extraction process.