Fixed bug (outside buffer if endY > shapeY) and
relaxed test of polygon points outside lattice.
Both raised by Dave Mehringer.


git-svn-id: http://casacore.googlecode.com/svn/branches/nrao-nov12@21389 6afa274c-0927-0410-9b47-a1284d797885