add test for render to texture, currently does not wotk on cpp (frambuffer status is equal to zero (same for nme 22-OGL sample))
tweak for js
upgrade to haxe3/openfl