add test to demonstrate that ImageManager.cacheImage() is broken
fix ImageManager.cacheImage()
Merge pull request #143 from novoda/image_manager_cache_fix

Image manager cacheImage fix