Remove "static" qualifier on template functions (not needed)
Allow for passing vectors in to trim_split
Add unit tests for trim_split
Add map_split (and unit tests)