check arity of validator conditionals before calling it with arguments

makes paperclip upload work
fixes https://github.com/justinfrench/formtastic/issues/999 as suggested there by @derekprior