Compatibility changes for AFNetworking 2
Merge pull request #7 from erikvdwal/ios7

Compatibility changes for AFNetworking 2