Computing validations for approval workflow helper

a copy of PR https://github.com/reciprocity/ggrc-core/pull/1829 for the s37 release branch