ADDED min_resolved_spokes constraint. ADDED "Thermal relief connection to zone incomplete" violation. Fixes https://gitlab.com/kicad/code/kicad/issues/2183
Also tries to fix a compile issue on gcc.