Convert example to use Cocoapods.

This way it proves out not only the code, but the fact that the podspec works as well.