add init method to include NSSearchPathDirectory parameter

The image cache defaults to `NSCachesDirectory` which makes a lot of sense for most use cases. However sometimes you want to make sure that your image cache does not get blown away by the OS due to upgrades or low disk space situations.