Task #2159 script used to stop task tracker must log the time of the
call

- Added an argument mode to the Logger initialiser. It is used to set
the open mode of the log file.
- stop_hadoop_tasks.py is logging the call time in a separated file.