unit test can use PhDebug
fix GraphicTest.pro
rectTest, imageTest and rgbPatternTest
better font test
all graphic test pass independently from retina/travis