Improve projection.clipExtent.

Still in progress: correct marking of whether an intersection is an entry or exit point, and detection of points that lie exactly on the clip edge, which should be jittered.

I have some test cases that fail due to the above but it works quite well in general.