moved distribution code to struct
Merge branch 'rewriting_autopartitioner' into restore-rebase-mistake

Conflicts:
	hpx/parallel/util/partitioner.hpp