Support complex polygons for geofences

cc @countrodrigo @jedhorne @kmnovak