More changes to the way the placer computes it's needed resources. Final this time (hopefully)
Fixed what is being passed to placer -> used_resources instead of max_resources + fixed typos
Added more tests to partitioner and placer
Merge remote-tracking branch 'origin/master'