Move to a more functional style for constraints.
Merge pull request #37 from mesosphere/wip-constraints-style

Move to a more functional style for constraints.