nginx config template improvement (rebased onto dev_5_0)



This is the same as gh-2624 but rebased onto dev_5_0.

----

As an addition to #1834 config should be more aware of settings in omero.web

This PR propagate it while generating nginx config:

```
bin/omero web config apache
bin/omero web config nginx
bin/omero web config nginx --system
```

In order to test it please set the following in various configurations (that make sense of course) including empty values and check if matching config was generated:

example:
```
bin/omero config set omero.web.static_url '/omero/static/'
bin/omero config set omero.web.force_script_name '/omero'
```
gives:
 - nginx

    ```
    server {
            ...
            location /omero/static {
            ...
            location /omero {
                ...
                fastcgi_split_path_info ^(/omero)(.*)$;
    ```
 - apache
    ```
    ...
    Alias /omero/static /YOUR_OMEROPATH/dist/lib/python/omeroweb/static
    Alias /omero "/YOUR_OMEROPATH/dist/var/omero.fcgi/"

    ```

Please note that static_url and force_script_name are independent
On nginx make sure you have configured the following to test upload attachment:
```
sendfile on;
send_timeout 60s;
client_max_body_size 0;
```