scratch/utils: organized utils, added png loading (with lodepng) and corresponding tests for inlineimage