Wrote failing test for strokeBounds on paths with a single segment and strokeColor. Implemented fix for failing test.
Fix indent.
Merge pull request #359 from msand/fixStrokeBounds

Fix crashing stroke bounds
Improve strokeBounds fix for paths with only one segment.
Simplify addCap() function.
Fix drawing of closed path with only one segment.
Implement test for strokeBounds of closed path with only one segment.
Use comparePoints() helper in Point tests.
Better format Point#getDirectedAngle() tests.
Define test for issue #344
Merge git://github.com/paperjs/paper.js