Ensure add observer transaction and remove observer transaction each
absorbs their respective branch.

The creation of a primitive now uses an isolated branch for setting
properties during such creations.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>