es-ES injection on 20140922-005005
PLF-6058: Failed to render Content Explorer in Catalan

Problem analysis:
* Some Catalan translations contain apostrophe/single quote.
  This mark isn't escaped and considered as parameter separator in JavaScript.

Fix description:
* Escape the messages before adding to JavaScript block.
Merge commit 'c56148fc9dd4ad77bd039e847f2dfac817d3c38e' into HEAD