Improve Today() to work on more systems

* use IO_gettimeofday from the IO package if available
* only use CurrentDateTimeString if it is really available
* handle when CurrentDateTimeString return "unknown"
* as a last fallback, use Command() to invoke "date" UNIX command
Tweak .gitignore template
Cleanup and improve configure.ac