Revert "fdo#44081 don't remove 'edit' pop-up menu entry from form in design mode"

This reverts commit 15cea073e7ed4970e60967fe036fc492e2052203. I
overlooked the fact during review that this introduces an svx <-> sfx2
circular dependency.
Revert "fdo#83302 don't display read-only infobar for Base form in normal mode"

This reverts commit 542ae4e06f9f70e328a3e85f1272ead558b36766, which
breaks the build without 15cea073e7ed4970e60967fe036fc492e2052203, which
had to reverted.