optimized point in polygon, with the classic pnpoly algorithm: http://jsfromhell.com/math/is-point-in-poly
removing the unit tests that test the polygon's boundary for inclusion.

"a point is within a polygon if and only if its y-value is within the range of the projected polygon on the y-axis and the x-value of the point is below odd number of polygon edges."