Acheung nsurl cache

Caching based off NSURLCache and unit tests for that