CForest new version

Do not focus on the documentation, I am leaving it for the end since there are a lot of changes and probably more to come.
As Ioan suggested, now the sampler deep copies the states. This, getNextSample() and clear() were modified accordingly.

This allowed me to remove the lock from RRTstar, which is good. Works, non mem leaks, and passes the unit test.