splitString()

New splitString function to help cutting filenames and simpler range
parsing. cutFilename is gone.
Color reset destructor is now dependent on actually printing colors.
getNumberOfDiffs and makeFiles are very similar now. I'll see if there
can be some simplification.
Explicitly freed some buffers.
stringFromRange is not used, but is there...