Allow apostrophes in page control menus attribs

Translations may contain apostrophes, but this would break the resulting JavaScript.
Let's encode those strings with json_encode...

There shouldn't be any error: no manual editing, just using regular expressions (find string: `"<\?=(.+?)\?>"`, replace with `"' + <?=$jh->encode\(\1\)?> + '"`)

Bugtracker: http://www.concrete5.org/developers/bugs/5-6-3/apostrophe-problem-in-page-controls/