added very simple texture cache using NSCache, added format property to SPTexture

textures will removed from the cache under memory constraints
automatically