Rework NewtonSolver.
Fix hcurl example.
Add nonlinearity test example.
Testing & fixes.