Optimized intersectLinePolygon. Added intersectSegmentPolygon.
Merge pull request #542 from xoppa/3dapi

3dapi: small changes
Fix slow read/write on iOS Net streams

Not sure why IOSNet has its own InputStream and OutputStream subclasses.
Should probably use the IOSStreamInput and IOSStreamOutput instead, but
this will do for now.
AnimationController javadocs