Added Escaper component from ZF2 (modified version)
(cherry picked from commit 4ddf57e)
(cherry picked from commit 81c5805)