Issue #90: Refactor custom validation runner function
Issue #90: Refactor custom validation runner function

Moved it inside the `validateDocContents` block along with the rest of the validation functions.

Kashoo/synctos,Kashoo/synctos