complete the C interface

and added additional tests for

- restarting and resolving the problem
- setting and querying parameter values

while removing some of the functions that have been deprecated