Updated project to use Cocoapods

Added Podfile to project with correct dependencies.
Updated project to use latest versions of dependencies.
Minor fixes to deprecations.