Implement feature-detection of background-fetch to fix crash on ios 6.1