Updates to Cocoapods Install Script

- Fix SHELL_SCRIPT path to use CocoaPods environment variable
- Make the prepare command use the Podfile to find the xcodeproj instead of naively looking in the root directory for it