Fix adding controls with map config
Fix adding controls with map config

If a control like ol.control.Bar adds sub controls when added to a map
it fails during map creating because the listeners are added after the control
was added to the map.

bjornharrtell/ol3,openlayers/openlayers,stweil/openlayers,ahocevar/openlayers,ahocevar/openlayers,adube/ol3,stweil/ol3,bjornharrtell/ol3,openlayers/openlayers,adube/ol3,ahocevar/ol3,ahocevar/ol3,ahocevar/ol3,stweil/openlayers,openlayers/openlayers,oterral/ol3,adube/ol3,ahocevar/openlayers,stweil/ol3,oterral/ol3,stweil/ol3,ahocevar/ol3,stweil/ol3,stweil/openlayers,bjornharrtell/ol3,oterral/ol3