cubicweb #5087432 Fix the many bad uses of loadxhtml [validation pending]

A lot of CubicWeb's own JS code uses $.loadxhtml() without specifying the mode argument. The default is 'replace' which is not what most callers actually expect.

The updated DOM tree ends up with nested <div> tags which may look ugly when using custom CSS or bootstrap.

prioritynormal
typebug
done in3.20.5
load0.500
load left0.000
closed by#d7479a5ac553 [web/data] Add missing mode='swap' in loadxhtml calls (closes #5087432)
patch[web/data] Add missing mode='swap' in loadxhtml calls (closes #5087432) [applied]