add a sample project using Gleed2D

add a sample project using Gleed2D in folder test-cpp and update Gleed2D
loader source files a bit