Merge branch 'release/v3.1.19' into develop
Fix a bug in the invocation of flattenDefinition
BIC-94: Validate form on resume from pending queue
bump for v3.1.20; use Forms v3.1.6; JSLint fixes
Merge branch 'release/v3.1.20'