Move getIntersections2 to PathItem.prototype.
More code clean-up.

Keep it all to 80 chars per line, and some more coding convention enforcements.
Further clean up code.
Scope fat-line code, fix variable leakage and rename private functions.