Move static lib functions to Util.h/cpp

The functions fExists (CodeFile.cpp) and checkRegexMatch (Line.cpp)
seemed out of place in there current classes, and as utility functions
were moved to Util.cpp/h