Various fixes (enable custom map loaders to setOwnedTextures / add support for querying attribute and uniform size to ShaderProgram)

Custom map loaders won't be able to set owned textures when not residing in the *.tiled namespace, hence the modified switched to "public".