Fixes E_NOTICE when using array_diff with PHP 5.4
Removed sfToolkit::pregtr calls
Modified deprecated preg_replace call with "eval" modifier to use preg_replace_callback instead (PHP >=5.3)
Merge branch '1.4' of https://github.com/stadline/symfony1 into 1.4

Conflicts:
	lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php