Check for availability of requestWhenInUseAuthorization method of CLLocationManager
to support iOS versions earlier then 8