Fixed the logic that checks whether a polygon is valid

Figured the best way will be to use Nape's own way of figuring this out
using the GeomPoly class - seeing how we're catering to Nape's own
definition of a valid polygon.