Re-write of collapseStrand to avoid high memory usage of findOverlaps(x, y, type = 'equal') when x and y contain many overlapping features by using data.table.
Also, fixed bug in how collapsed assays were computed.