Change order of validation steps

Execute validation formula *before* validating dataformat.
This allows validation formula to massage the submitted value.

E.g. to make a Number field accept input like "0,2", without requiring
a side-car Text field/item pair.
Merge pull request #409 from plomino/jean-reorder-validation

Change order of validation steps