Repaired the test of creating window and graphics engine. AH-293
Merge remote-tracking branch 'origin/master' into AH-293_integration_test_graphics
Added Visual Leak Detection and fixed memory leak. AH-293
Merge remote-tracking branch 'origin/master' into AH-293_integration_test_graphics