Make the prepare command use the Podfile to find the xcodeproj instead of naively looking in the root directory for it
Fix SHELL_SCRIPT path to use CocoaPods environment variable
Handles upgrade path, additional checks for path structure
Merge pull request #7 from optimizely/optimizely/prepnibs

Updates to Cocoapods Install Script