ECMS-4523: Exception when open a document from search result with name containing ' character

Problem analysis
	- In initiating SEO for a document, its metada need to be got first by using nodePath but nodePath is not encoded.
Fix description:
	- Escape nodePath before getting its metadata