Fix EZP-20037/EZSA-2013-010: XSS attack possible in content treemenu

http://share.ez.no/community-project/security-advisories/ezsa-2013-010-xss-attack-possible-in-content-treemenu-object-names-not-sanitized

Signed-off-by: André R <ar@ez.no>
Fix EZP-20038/EZSA-2013-001: XSS attack possible in content/browse

http://share.ez.no/community-project/security-advisories/ezsa-2013-001-xss-attack-possible-in-content-browse

Signed-off-by: André R <ar@ez.no>
Fix EZP-19643/EZSA-2012-011: XSS exploits caused by versionview

http://share.ez.no/community-project/security-advisories/ezsa-2012-011-xss-exploits-caused-by-versionview

Signed-off-by: André R <ar@ez.no>
Fixed EZP-20052/EZSA-2013-002: Website spoofing attack possible on user/login (and other urls as well)

http://share.ez.no/community-project/security-advisories/ezsa-2013-002-website-spoofing-attack-possible-on-user-login-and-other-urls-as-well

Signed-off-by: André R <ar@ez.no>
Fixed EZP-19653/EZSA-2013-009: 404 errors may lead to DDOS attacks

http://share.ez.no/community-project/security-advisories/ezsa-2013-009-404-errors-may-lead-to-ddos-attacks

Signed-off-by: André R <ar@ez.no>
Fixed EZP-20202/EZSA-2013-011: XSS issues in admin design

http://share.ez.no/community-project/security-advisories/ezsa-2013-011-xss-issues-in-admin-design

Signed-off-by: André R <ar@ez.no>
Fix EZP-20206/EZSA-2013-006: Xss vulnerability on user/login

http://share.ez.no/community-project/security-advisories/ezsa-2013-006-xss-vulnerability-on-user-login

Signed-off-by: André R <ar@ez.no>
Fix EZP-21049: Display issue with HTML characters in treemenu
This is a regression introduced by EZP-20202 and EZP-20037 combined.

The code was already washed in treemenu.php, so when displayed
with contentstructuremenu_dynamic.js the HTML code was not rendered.
(cherry picked from commit 8642e6b)
Fix EZP-21050: Treemenu broken on IE8

The previous javascript code didn't work on IE8. It has been replaced
with something simpler that IE8 is able to figure out.
(cherry picked from commit 36b035e8b273487d456ca85eb1dc8d21a2842a23)
Fix EZP-20218/EZSA-2013-013: Object that should not be visible appears in object relation(s)

http://share.ez.no/community-project/security-advisories/ezsa-2013-013-object-that-should-not-be-visible-appears-in-object-relation-s

See link above for further possible enhancments on this new "feature".

Signed-off-by: André R <ar@ez.no>