added "float approxLength(int samples)" to Path interface and added implementation within existing Spline-classes
extracted local variables to avoid allocation on each call
removed unused tmp2
fixed formatting and adapted PathTest as suggested by @Xoppa
Merge pull request #1756 from florianbaethge/master

Added "float approxLength(int samples)" to Path interface and added implementation within existing Spline-classes