use putenv to define defaults

if defined in the phpunit file, it's not possible to override them like
so:

	db_class=x; phpunit...

as phpunit will overwrite the existing environment variables with the
xml-defined settings
Merge pull request #3079 from AD7six/3.0-phpunit-default-config

use putenv to define defaults