Added cocoapod support

Once you merge this pull request, you'll also need to create a 1.0.0 tag.  If you want to use a different version number, make sure you manually merge and update the s.version value in the podspec file to match.