Added field parameter identifying the custom validation

In the template file a field with custom constrain should
return in the parameter arguments a custom constrain value.

Change-Id: I7df56a840eabb2f8093ea82eb822a764e9267b40
Closes-bug: #1313835
Merge "Added field parameter identifying the custom validation"