PHP 5.5 support

Fixed preg_replace calls with /e modifier.

Now plugin is fully compatible with PHP 5.5 when using this fork of Symfony 1.4: https://github.com/javer/symfony1.