Clear SVGKImage cache when app enters background.

I have added code to clear the SVGKImage cache when the app enters background or receives a memory warning. This is useful because an app that consumes less memory, is less likely to be purged from memory while in background.

You could also use NSCache to cache images instead of NSMutableDictionary, which will automatically remove cached objects.