Adding linkedDocuments on a document's template + bump to 1.0.12

Making good use of the brand new linked documents exposed in the API, and listing them in the "document" template.

**Careful: do not merge this as long as the linked documents feature is not live in all repository APIs!**