function normalizeValidatorObject (validator) {
  return isFunction(validator.$validator)
    ? { ...validator }
    : {
      $validator: validator
    }
}
Returns a standard ValidatorObject
Wraps a plain function into a ValidatorObject
@param {NormalizedValidator|Function} validator
@return {NormalizedValidator}