ECMS-6238: Cannot upload file whose name contains [ character in Activity Composer

Fix description:
- Make uploading file and creating folder in Activity Composer consistent with the same method in Content Explorer
ECMS-5395: Renaming content in Webdav does not change its publication state

Fix description:
- Fire the event POST_EDIT_CONTENT_EVENT to change publication state to draft when rename content
- Check if destination node is not folder before updating its mime type

Conflicts:
	core/services/src/main/java/org/exoplatform/services/cms/webdav/WebDavServiceImpl.java
Merge commit '8a4fe2a49e4a579e70e093cf79de82e4361e8218' into HEAD