Upstreams + more flexible parameters

- Adding support for upstreams. Currently in nginx.conf, a potential improvement would be to put them under upstreams/ and then include that in nginx.conf or something similar.
- Locations are specified as a `location` list
- Server names can be specified as either a string or a list
- Updated templates