finished fitmodel, testFitmodel and example

fitmodel now has also a “theta.names” argument with parameter names.

several variable and function names have been changed using replace in
all files.
I will check that everything work as I go in different files.

fitmodel.r is clean and the example works.

the package almost passes the check, 2 warnings due to undocumented
functions.