Update the sample to work with the changes in iOS8.

You now need to explicitly request access to a users location in iOS8, with a new key also required in the info.plist. This PR resolves all the issues and allows the sample to work on iOS8.