Point in polygon

@kerrizor @bookis: Could I get a quick code review on this? I'm trying to figure out where to put this logic from this gem https://github.com/kimhunter/PointInPolygon. Comments inline.