improve get_request_param function

```
{{ get_request_param assign="request" }}
{{ $request|dump }} // Request object

{{ get_request_param name="city" default="Basel" }} // string Basel

{{ get_request_param name="city" default="Basel" assign="city" }}
{{ $city|dump }} //string Basel
```