Add initial host constraints

-Simplify host constraints and add V1 of code (uses separate hosts for
NN1, NN2, journal node, and data nodes).
-Remove resource code that’s currently being used for hostname
constraints
If only Java shipped with `fold` in the standard library!