Add gettter/setters for Path#segments, and fix bug in Segment#previous.
Tests: Add compareRectangles() function and use it in Rectangle tests.
Tests: Remove console.log messages.
Make sure Segment#handleIn and #handleOut are always defined, even when not provided, and change compareSegments() to also reflect this change by relying on Segment.read for conversion of comparison values.
Fix a couple of bugs in shape drawing code, and switch to consistently use this.currentSegment rather than this._segments[this._segments.length - 1], to use the internal check for a starting point.
Fix PathItem constructor to support passing of segments both as array and arguments.
Beginning of  PathItem#bounds and tests to go along with it, not functional yet.
Add compareNumbers() method, to compare with same tolerance in Rectangles as in Points.
Fix bug in PathItem#bounds (wrongly used variable name twice), now works properly for open paths.
Make PathItem#getBounds() work for closed paths too.
Optimize PathItem#bounds by using less coordinate lookups.
Add documentation to PathItem#bounds.
Optimise read() functions to only convert if argument is not of desired type already.
Fix issues with _angle caching in Point.
Add comments to Path Bounds tests.
Reformating code to follow Scriptotgrapher coding conventions.
Add optional index argument to static read() functions, so points, rectangle, sizes and segments can be read from any index in the arguments array.
Add comment about ideally not relying on parent.children.indexOf for getIndex().
Add space after beans: true.
No need to check for existance of handleIn/Out, as they are always defined.