add argument to specify log directory

This PR allows a user to specify a "--logdir LOGDIRECTORY" argument to choose a user specific directory for the ros log files.
The directory needs to exist, otherwise it defaults to /tmp. This is also the default value, if the "--logdir" argument is omitted.