Implement all standard derivatives, plus derivatives wrt other parameters, plus abs() and sign().

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/optimizer@845 edb9625f-4e0d-4859-8d74-9fd3b1da38cb