Fix Core Location Manager Changes in iOS 8

Your code give greatest help to me, But I found that  location manager fails to start in iOS 8. I fix a little , and test it well  with PunchClockServer.