Relicense under GPLv3.
Improvement to trust-region algorithm.

 - handling of singular Jacobian
 - more sensible choices for initial and updated size of trust region
 - new "factor" user argument for choosing initial size of trust region
 - more comments in the code
Switch default to trust-region.
Cosmetic change
Alternative interface to nlsolve().
First shot to documentation.