Adding a cluster size constraint to cluster templates, and

checking the constraint at cluster create time.
Minimum is 3, since minimum for `hadoop-hdfs-datanode` is 2