Add string-trimming functions and the beginnings of module path and pathname splitters.
Add ChanArgMap class and adopt Transform class to use it; support XCTest access in Xcode.
BaseExc&, not exception&, b/c of multi inheritance problem; use filenameFromPathname when looking for top-level module.