Rework after code review

Use a slice instead of container.list.List, give the JSONMessagePublisher the responsibility of closing the listeners (thus ensuring that no send on a closed channel can occur).

Docker-DCO-1.1-Signed-off-by: Arnaud Porterie <icecrime@gmail.com> (github: icecrime)