INTEG-309: Code shown when commenting on Wiki activity

Fix description:
- Add load previous comment action
INTEG-250: [Unified Search] Hard-coded search settings

Fix description:
- Set search properties by using Portlet Preferences.

Conflicts:
	integ-search-portlet/src/main/java/org/exoplatform/commons/quicksearch/QuickSearch.java
	integ-search-portlet/src/main/java/org/exoplatform/commons/unifiedsearch/Search.java
INTEG-307: [integ-ecms] Status of document isn't updated in the Activity when passing it manually to "Draft"

Problem analysis:
* When the publication state is changed manually to "draft" without any content update, no event is fired.
  As a consequence, the new state isn't updated in Content Activity.

Fix description:
* When rendering a Content Activity, get the publication state directly from WCMPublicationService.getContentState() instead from Activity itself.
INTEG-317 Incorrect number of likers on an activity

Fix description: in case current user doesn't like the activity, reduce total like number by 1 if number of likers is more than 2.
INTEG-334: [Unified Search] Search Result Settings aren't shown properly

Problem analysis:
- Search setting is reloaded from configuration when search portlet is rendered even user does the customization

Fix description:
- Only load setting from configuration in the first loading time.
INTEG-339 | notification displays null instead of comment on wiki edit
SOC-4181 | User AS crashes after removing any space having a post.
INTEG-329: [integ-calendar] Wrong link of event activities in some cases

Problem analysis:
* When an event is created outside space's calendar page, its activity link is wrong.
  It always takes the page where the event was created.

Fix description:
* New method getEventPreviewLinkInSpace retrieves the URL of space's calendar page, then appending other values for event preview.
  Wherever an event is created (from Quick Creation menu, or intranet's calendar, or space's calendar page), the activity URL is the same.
INTEG-322: [integ-forum] Display the total number of voters on Poll Activity

Fix description:
* Show the number of voters instead of the number of votes.
INTEG-306: Wrong display activity after merging topic

Fix description:
* Update method updateActivityByTopic in ForumActivityUtils class to create new comment when comment associated to post doesn't exist.
* Use ForumActivityUtils.saveTopicActivity instead of ActivityManager.saveActivityNoReturn when merging topic.

Conflicts:
	integ-forum/integ-forum-social/src/test/java/org/exoplatform/forum/ext/forum/ForumActivityTestCase.java
Merge commit '3b56e8cd3421fb0a5988167b1bec251f019e6832' into HEAD