XWIKI-10199: WikiStream UI should remember execution properties

(cherry picked from commit 58cdbc041053c0c8363a9bc37d787f65b1153d0e)
XWIKI-10200: It's possible to produce a corrumpted XAR when indicating a target in WikiStream UI

(cherry picked from commit c21616b0bc2062d46013131b9d34244f5080df8e)