Minor changes to bootstrap.js
Implement simpler strategy to iteratively find nearest points on paths.

Idea based on method described on http://pomax.github.io/bezierinfo/
Fix build script.
Bring back accidentally removed static functions on Curve.