Don't try to turn on Ranging if region cannot be found
Merge pull request #13 from jeffbonnes/crash-on-enter-event-in-background

Don't try to turn on Ranging if region cannot be found
using CLLocationManager's bookkeeping
using CLLocationManager's bookkeeping
fixed a few warnings
cleanup after stop functions