Add basic specs for validations.
Split out validation specs.

This required some restructuring in the IntFieldContext, which will
probably become something more generalized sooner rather than later.