Support deploying app to custom context

This can be very useful when running both registry and registry-ui behind single proxy. So you can have the api at `https://registry.mycorp/ -> http://registry:5000/` and webui at `https://registry.mycorp/webui -> http://registry-web:8080/webui`