Set maximums for numberpicker in the plan edit view

Don't allow the user to increase the number of nodes over what is available.
Note: this doesn't fix a plan that is already invalid and has more nodes.

Change-Id: I644f781be6d3d616285de49873a4e996286436bd
Merge "Set maximums for numberpicker in the plan edit view"