Added .idea folder to gitignore
Updated podspec
Fixed compile issues, where some types has become nullable since the previous version of swift