[FLINK-1133] TypeExtractor resolves also variables inside Tuple-input
[FLINK-1133] TypeExtractor now also supports nested Tuple-input derivation

This closes #137