fix(security): Fix regression with redirect_act in GENERIC_MOD (refs #4925)

Regression introduced by #4874.
Merge pull request #1242 from eguaj/3.2-A4925

fix(security): Fix regression with redirect_act in GENERIC_MOD (closes #4925)
feat(DetailSearch): Add constraint on conditions with regexp operator (refs #4887)

Also:
- Adapted DetailSearch's layout/code to allow constraints to be
  displayed in conditions
feat(Report): Prevent SearchDoc's exception from blocking document's view (refs #4890)

An error in the query will be reported as a addWarningMsg instead of
blocking the full document's view.
feat(DetailSearch): Add constraint for unbalanced parenthesis (refs #4889)
feat(DetailSearch): Add constraint for malformed timestamp or date (refs #4888)