introduce php-template-compatility

avoid all the stuff to deal with html when you know that you only use
php-mode only for plain php scripts