deis/deis — pull request #1261 by developerinlondon (2014-07-06 10:54:48+00:00)
Title: fix(controller/scheduler): only announce 'web' and 'cmd' processes

Currently the nginx routers gets announced all types of processes.
This causes problems as both non-web and web processes are mixed
together by the router. The router should only be serving 'web'
processes for buildpacks or 'cmd' processes for dockerfiles.

This fix stops announcing any processes that does not have '.web'
or '.cmd'.

TODO: test coverage missing.

closes #1256