SITE-397: Fixes for custom validators and for arguments in validation functions

- Previous version was directly modifying the arguments array, causing
  persisted changes to the model
- Finding the validation function was incorrect
Merge pull request #3 from beum/SITE-397-Bug_Fix_1

SITE-397: Fixes for custom validators and for arguments in validation fu...