Adaptation to SDWebImage 3.7.0

I needed to use this but the WebP support in SDWebImage 3.7.0 has bugs so I modified the podspec to get only the Core part. I also fixed some deprecation issues.