WIKI-642 : Javascript error when switching page with accent characters to Rich Text Mode

Fix description:
- fix js bug: $ is consider as jQuery, but it should be prototype object in prototype.js
- revert wrong comment in UIWikiWysiwygLoader.js
WIKI-592: Wrong position of section editing's tooltip

Description: Change the data-placement property from bottom to left to fix the tooltip display only on 1 line.
WIKI-636: Some problems with wiki porlet in public mode after WIKI-601
WIKI-574 Incorrect behavior of Search Completion

Fix description:
* Make wiki search textbox autocomplete:
** support searching attachments
** clicking on an attachment on the result will goto a download link(rest link)
PLF-5394 : Update PicketLinkIDMService configuration after upgrading to Picketlink IDM 1.4.3.Final
WIKI-680 1.change logic to check the existence of Wiki; 2.cache current page in ThreadLocal to reduce number of calling method getCurrentWikiPage
WIKI-679 remove method call: attachment.size() in PageImpl.getAttachmentsExcludeContent()
Merge branch 'stable/4.0.x' into feature/4.0.x-translation

Conflicts:
	wiki-webapp/src/main/java/org/exoplatform/wiki/webui/UIWikiBreadCrumb.java