Simplify zend_print_zval_escape

No need to copy code when an if and a function-call will work
escape_write: do it right

Move the function to where the other output functions are.
Make it use the C interface to the escaping function,
not the slow php one.
AutoEscape: fix spelling errors in tests