Added support for multiple backends with health checks

This change will create separate backend for each application (whether it's nodejs, php or rails application). Each backend is monitored with it's hostname.

Previously if stack consisted of 10 apps and first app parsed by nginx was returning 400 or 500, whole backend for 10 apps was marked as DOWN.