Added feature to write to a different log file

* Only works if --log-and-exit is set
Systest can now create results in a different path

* Very important when CI does not allow you to write to the directory
  you cloned to
Travis should be able to run the integration tests

* Added cleanup and tmp options
* Also gitignore updated to ignore log files