Polish gradle formatting

- Replace spaces with tabs
- Use consistent quote style
- Use consistent parentheses
- General polish
Upgrade to docbook-reference-plugin v0.2.4
Use propdeps Gradle plugin

Use the Spring propdeps gradle plugin to handle all 'provided' and
'optional' dependencies. Maven dependencies are now also sorted to
to ease diff comparisons against older POMs.
Migrate reference guide to well-formed docbook XML

Convert all docbook XML files to well-formed docbook 5 syntax:
 - Include xsi:schemaLocation element for tools support
 - Convert all id elements to xml:id
 - Convert all ulink elements to link
 - Cleanup trailing whitespace and tabs
Add reference guide section on JSF file uploads

Issue: SWF-1482