#12 Json usage extracted to seperate class

MapTexture now has common code to convert from surface to texture, this
also adds the texture to the loadedTextures vector