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