Added time logging within the log files.

* Added two command line arguments to control time:

  -log-time=false: enable time logging in each file
  -log-time-format="%M-%S.000 | ": stftime compatible format for time logging

* Modified the stftime to allow to do the stftime to goformat conversion only once