Added "ok()" function to ValidatorResult

Testing for result.errors.length == 0 is a little wordy.  So I added an ok() helper function to ValidatorResult.