Use PHP Cli to validate the PHP code syntax generated by the photon template compiler

Thirds party code (modifier, tags...) can generate syntax which kill the handler, instead show a error and keep the handler alive.
Phar can't be generated if a template generate syntax error.