ListResultPrinter add extra information to the template output

- Make {{{userparam}}} available to intro and outro template as well
- Make the result querystring available to a template via {{{swm-resultquerycondition}}}

When using {{{smw-resultquerycondition}}} as parameter a template inherits the query condition from the source which enables to add additional output information (e.g. sum, average etc.) without having a
template to carry an explicit query condition.

The output (selection of printouts) is directly bound to the template definition but the query condition is template independent. 

```
{{#ask: [[Category:Country]]
 | ?Population
 | ?GDP
 | template=Country/Table
 | introtemplate=Country/Table/Intro
 | outrotemplate=Country/Table/Outro
 | format=template
 | link=none
}}

Template:Country/Table/Outro
<includeonly>
 | Total
 | {{#ask: {{{swm-resultquerycondition|}}} |?Population |format=sum}}
 | {{#ask: {{{swm-resultquerycondition|}}} |?GDP |format=sum}}
|}
</includeonly>
```