[WIP] Reduce memory overhead due the splitter and criterion

This pr add a finalize method to the Splitter class and Criterion class of `_tree.pyx`
in order to release unused memory.

This is useful when one wants to build large tree ensemble.

(ping @glouppe)