core: add lock of storage conn id to edit/rmv conn

Add locking of connection's id when editing/removing the connection
to avoid edit/removing it in the same time by a different user/request.

Change-Id: I5da517d69789ead2b891498b8086b15a6899269e
Signed-off-by: Alissa Bonas <abonas@redhat.com>