Created by: s-kanev
Splits out a self-contained library, which:
- only takes already opened std::istream and std::ostream-compatible files and doesn't own them, so it can be used with more exotic filesystems;
- takes in the contents of the module file to avoid doing IO from drmodtrack_offline_read();
- returns errors on failure;
- doesn't depend on dr_frontend.
Preserves the current behavior with raw2trace_helper_t, which walks directories and opens files.
TESTED: ctest (failures failed before this commit as well)
Fixes #2511 (closed)