bug #5308 :   Remove the encoding for HTML rendering of the publications and of the comments at their persisting. The encoding for HTML should be done at the HTML rendering and only for the data that were set by a user. (The encoding for HTML is to avoid XSS attacks.)
bug #5308 : fixing problems around comment API.
bug #5308 : fixing compilation error.