Making test running against phpunit 4.*

This PR purpose is to allow PHPUnit running all tests, despite the fact that some tests are failing.

Author of original proposed fix in #292 has been kept

The whole PHPUnit configuration changed is only due to switch between windows and unix new line pattern (CRLF -> LF) and add of color=true in PHPUnit configuration.