Naive cocoapods caching implementation

- This is a straight copy of the ruby bundler code
- It also allows caching bundler in obj-c projects if you want
- cocoapods doesn't support --deployment for obvious reasons

I think long term it makes sense to modularize the caching code but I
couldn't come up with a decent abstraction trivially and I really miss
the caching having moved to an ios project from ruby