fixes and clean up in new C wrapper functions, correct tabs to spaces, expunge RRDataHandle, update test suite for changes in  C wrapper
Fixed typos in updated C API documentation