Support for custom init code in virtualenv

Otherwise, initialization section and environment section are
completely missing from generated test script, when buildout is run
under virtualenv.

See buildout/buildout#20 for more info.

Fixes collective/collective.xmltestreport#8.