Feature/5122

This is a first take on enabling templating for search requests - feedback welcome.

Note: This does not yet deal with referencing template and template paramters in the search request url parameters.