Merge branch 'master' of https://github.com/alex-alex/iOS-Ingress
On Portal Action menu, enable/disable Hack and Link buttons depending on the player's location. If player within 40 meters, enable Hack and Link. If farther than 40 meters, disable Hack and Link.
Fixed #297
Merge pull request #305 from jbekas/portal_actions_only_within_range

Portal actions only within range
Merge branch 'master' of https://github.com/alex-alex/iOS-Ingress
Merged from alex-alex/master.
Revert "Merged from alex-alex/master."

This reverts commit 3f28353fffb13358aaafb4ba370743dd23a35403.
Created a shared static CLLocationManager, updated ScannerViewController
and PortalActionsViewController to use new shared version. Added DEBUG
flag to enable Hack and Link on portals outside of normal range when
Build Mode = Debug.

Enable Recharge button if player is within portal action range, or if
player is same team as portal owner and has a portal key. Minor code
cleanup. Added if block to call remote recharge API if not in range.
Fix alignment issue with resonator level labels.
Prevent crashes when deploying resonators.
Wrapped deploy resonator in a try-catch block to catch unexpected exceptions.
If an exception is caught, the player will be notified of the application
error. The exception will also be logged to Google Analytics so that it
can be researched and the root cause can be resolved.
Merge pull request #310 from jbekas/level_label_alignment

Fix alignment issue with resonator level labels.
Merge pull request #311 from jbekas/issue_273

Prevent crashes when deploying resonators.
Merge pull request #307 from jbekas/portal_actions

Portal actions
Merge https://github.com/alex-alex/iOS-Ingress
Better LocationManager
I forgot to set the range constant
Fixed #283
I had some problems with compiling this
Fixed some positions
Smaller comm font size