Minor: use .orNull
Minor: use final
Minor: use template
Minor: indent
Fix #1933 "Incorrect check on headers in Connection"

- clarify method names to reflect header case and use
- indent
Minor: getOrElse
Minor: consistency
Minor: rename, indent
Minor: indent
Implement #635: "fr:grid: add enclosing element and align with repeated sections"

- fr:grid
  - support repeat="content"
  - add enclosing element and align with repeated sections
  - support backward compatibility mode
- Form Builder
  - migrate repeated sections
  - annotate.xpl uses modes
  - insert repeated grids with repeat="content"
  - unify dialog-[section|grid]-details.xbl
- demo forms
  - use `template` instead of `origin`
merge master: fix conflicts with orNull