Make a change on BaseEditorSlave

Add a parameter "edit_mode" to BaseEditorSlave's constructor so we can see
if the slave are being edited or it's a new one

Change-Id: I7e93bcb72c0f81f3b620603994b3cb8dfb3e36b2