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)
test(DSearch): Add test for new DSearch's constraints (refs #4887)(refs #4890)(refs #4889)(refs #4888)
Merge pull request #1243 from eguaj/3.2-A4887

feat(DetailSearch,Report): Constraints and usability improvements (closes #4887)(closes #4888)(closes #4889)(closes #4890)