Added iOS5 compatibility
Use isAvailable instead of versionString, use the same request logic for both cases
Fix leak in logger
Merge pull request #3 from adeven/ios5_compatibility

Add iOS5 compatibility, close #2