Fix net driver response loss on createEndpoint
Fix net driver response loss on createEndpoint

Fix related to bug: https://github.com/docker/for-linux/issues/348
We should perform updateToStore(ep) after n.addEndpoint or do update twice,
otherwise response from network plugin will not be written to KV storage.
This results in container creation with broken network config.

Signed-off-by: Siarhei Rasiukevich <930d5adddb1c84b1ef24ce1c0b0774a186489e8c@gmail.com>

mahak/libnetwork,vdemeester/libnetwork,medallia/libnetwork,mahak/libnetwork,medallia/libnetwork,medallia/libnetwork,docker/libnetwork,vdemeester/libnetwork,docker/libnetwork,docker/libnetwork,vdemeester/libnetwork,mahak/libnetwork