Got the geofencing detection functionality working.
Merge pull request #12 from mikalveli/getting_geofencing_working

Got the geofencing detection functionality working.
Fixed silly bug.
Merge pull request #13 from mikalveli/silly_bugfix

Fixed silly bug.
Fixed merge conflicts