fix of db foreign keys
[editor] better remove button
polished
new selenium tests