Logfile class using singletons

Here is the new logfile system, I replaced the old « LogFile » class by
the new one.
I also made small changes related to the way things are printed in the
console.