Using logog in input output library (FileIO) and some code cleaning.

Using logog instead of ```cout``` and ```cerr``` objects to output run time messages. For this reason the substitution is done in all files of the library except the rapid xml files. (If I understand it right rapidxml is depreceated.)