Added "terminators" to stop recursive tree search

Implemented 2 basic terminators: any (no condition), enoughObservations
(features should be split only when more than n observations are
present).