Fixes #4 by introducing a new method getCachedImage() on AsyncTexture and by removing the old method getImage().
The difference is that getCachedImage() returns null if the texture has not been loaded yet.