CocoaPods caching

This builds on #229.
The Mac platform is currently running an old version of Bundler that doesn't support these flags, so we either need to somehow flag them out or wait until the new environment is live.