stop criterion plus tests

This branch implement a simple stopping criterion based on size and depth for the random forest.
Could be useful in martin project.