Allow setting a custom memory cost limit for the in-memory NSCache. 

This can help to keep memory down before memory warnings are sent by the device.

Thanks!