Move supervisor out of web server state.

* Add a common supervisor app template
Update flow of nginx state
Make develop script be more generalised