WIP: make API used by modules available externally
use case: modules that are not compiled directly into Darshan but would like to register modules and store data there
This merge request splits out the module API into a separate header that can be installed in include path to give external users access. There is no need for a separate function to get memory pointer; the existing register_record() function should work.
See #247