Revert "ECMS-4880: Several problems of accessing user folder with username as email address"

This reverts commit 2fa499bd7b0f1e8dbb19af0bcb9a7d01b2fdbd49.
ECMS-6122: [Quick Creation Menu] Upload file popup displays again after clicking Close

Fix description
* Remove the popup object after closing the upload form.
ECMS-6193: Advanced search: Impossible to search with date constraints

Problem analysis:
- ECMS-5904 escapes "less than" and "greater than" characters in date constraints because these marks are also used in XSS scripts.
  These escaped values are then stored in DB. It is therefore impossible to execute search query with date constraints.

Fix description:
- Revert ECMS-5904 and escape XSS characters in gtmpl file when rendering the form.
Merge commit '39bb47a3d54a57d3d5ca12cdb81e5d1534a61dca' into HEAD