Bugged Fixed

Added a releasecallback funtion for textures which releases the texture
created by models. Update Model definition to contain their resource
name for textures.