Fixes #279
Fixed not working geofence leave events, refactored geofence setup
Added geofence ticker, Fixed crash on geofence transition when no current location was available