ReqMgr CouchApp validation function

Fixes #4464
Merge pull request #4505 from zdenekmaxa/reqmgr2-couchapp-validation-function-issue-4464-2

ReqMgr CouchApp validation function