iOS 7: Fix deprecations in some classes
Merge pull request #1 from lickel/ios7

iOS 7: Fix deprecations in some classes