add Newton solver

a javascript implementation of Newton solver, which is ported from GSL
(GNU Scientific Library) 's globally convergent Newton method
(gsl-1.15\multiroots\gnewton.c)

This Newton solver has been successfully used to implement a simple
geometric constraint solver in project Rena
(https://github.com/kaige/Rena)