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`
Minor: remove out of date comment
Fix #1939 "Controls form no longer loads dynamic dropdowns"
Put back <resource-ref>
- It isn't necessary with Tomcat.
- But is necessary with other app servers, including JBoss.
Remove default in code to allow a property value to be ""
 - Otherwise, the default non-empty value is used.
 - In general, we don't want defaults to be in the code, but in properties.
Forwarding cookies isn't necessary since we use internal requests
- And this causes strange issues with eXist creating data as admin/dba.
Minor: some rewrite for clarity
Owner/group permission for eXist, fix #1341
IntelliJ project files
Indent
Don't default to passing JSESSIONID and JSESSIONIDSSO

- internal requests remove need for this