Complete rewrite of deployment plan calculation.
Merge pull request #856 from mesosphere/deployment-plan-calculation

Complete rewrite of deployment plan calculation.