Fixed the generation of the AJAX menus
Fixes #684
Fixed the title for page with encoded characters
Fix #685
Merge pull request #686 from LaurentGoderre/master

Fix the menu generation and title of some pages