LDEV-2826: Allow marking Wiki pages as removed instead of removing them completely. Clear references to unexisting pages. Fix refresh Wiki page list after removing one.
LDEV-2824: Revert changes made by previous attempt to workaround Chrome and Safari XSS detection. Replace "javascript" word in submitted Wiki pages with another token and replace it back on server side, so returning code is not identical to submitted one and XSS protection does not kick in. Clean up unnecessary methods and calls.