hotfix/CORE-479

PopulationSample was removed, yet there were many mentions of it throughout the code.
I've removed almost all of them, except those in .behave tests.
I've also added two TODOs.

Please review this carefully; many of the removals were in Python files, which I'm not that familiar with.