lib: Simplify service.js refresh_interface()
lib: Simplify service.js refresh_interface()

Build the notify dict data structure in a single step. This is shorter
and also easier to understand how it looks like.

martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,martinpitt/cockpit,martinpitt/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit