Fix EZP-19018: Vulnerability with the cookie eZSESSID

\$updateBackendData could be removed from eZSession and
instead be about \$hasSessionCookie logic only, but keeping
it to make sure we don't break any code here.

(cherry picked from commit 2e417a6bf47b75f37487c7623a753e1a13e981f3)
Fix EZP-22009: added eZCollaborationItemTest

(cherry picked from commit dd136d9b6db6cb8f7ef6640af5be2af1dc0c2bd2)
Fix EZP-22009: Added a permissions check on collaboration/item

If a user isn't a participant in a collaboration item, he
won't be allowed to see a collaboration item.

(cherry picked from commit b72f9e2edda6b1f4d3a172f19ec045179954d223)
Fix EZP-21716: Security issue with login forms

If a login or password is too long it might allow DDOS attacks while hashing it.

(cherry picked from commit 061908854708f4a108a5a8944a6dc1daa3bf103b)
Added a unit test for the protected static method getValidwwwDir of the eZSys class

(cherry picked from commit b0cc1bc92683c4b38ece0c2ec10d4cf9d4209842)

Conflicts:
	tests/tests/lib/ezutils/ezsys_test.php
Fix EZP-21983: Security XSS injection in URI

(cherry picked from commit dad949279cc8a2d29d88e053df0e437abaa3fc1d)
Fix EZP-21983: Activated the breaking unit test

(cherry picked from commit 1a384018a784f6349237e8c0a4748e3884276cf1)
Fixed EZP-21497: Security: SQL injection in ezrss

(cherry picked from commit 14bea4d01b06c3207845163474d7e385cc43456b)
Fix EZP-20142: Added lots of |wash to avoid xss on shop's template

(cherry picked from commit c118eaa952201f27118c906d630d24bbd269fbad)
Fix EZP-20202: XSS on root node's name in treemenu

The wash on the name has been removed in 9928aa21d338ac077ddf96ee22e4be4b6ffe7051

Children are not affected because they are washed in treemenu.php

(cherry picked from commit dae921084c24c6af35274729415fe6662a240ead)
Fix EZP-22533: XSS injection on role edit

(cherry picked from commit 2631169e604b40b4e04ca8535cff0b1111abb4de)
Fix EZP-22533: XSS injection on role edit (extra washes)

(cherry picked from commit b72dcabb5abfcd605b878faa4c3fb22500c8f585)
EZP-22539: XSS in admin interface

(cherry picked from commit 4013c7d9de50b93688b85b02a48b25ef9f5b59fd)
EZP-22539: XSS in admin interface 2

(cherry picked from commit b95fef867add7c81150a69357e4b672f99a51a47)
Fix EZP-21944: XSS in content/edit missing eZ Media fieldtype

(cherry picked from commit f96f1ca85741cc0bc2637f632403dcd877c1df07)
EZP-21494: fix wash('email') operator in generated template code.

(cherry picked from commit 05123fbba12c8e0291149c81f063943df75032c5)
EZP-21494: Fix the wash('email') template operator

(cherry picked from commit 34bdede50e2a22c536403fe2360cb9f5a60b2fc9)
EZP-21494: missing washes in all needed templates.

(cherry picked from commit ebed38bce3efc4fdeb25134562535c156c4c0656)
Fix EZP-21494: XSS in content/edit

(cherry picked from commit 4db5ca67865ecf9771a3200d7108b5ae40df52b3)
EZP-21494: Additional fix (price on ezoption)

(cherry picked from commit c4c94620461a1bc21e84487f94b448037320bb60)