Cherry pick from feature-staticPartitioning to get all but the staticPartitionner.

Enough features for a release. Need to clean before releasing however.
Clean
Code cleaning
update changelog