windows support

Three additional fixes for windows support:

 - HTML rendering on windows was broken because it relied on `/` as directory separator. Now detects whether `/` or `\` should be used.
 - 2 Unit-Test has failed on windows because of `PHP_EOL` respectively `/`