Max running time

Added possibility to set a max running time in seconds for a job. If time is exeeded, a flag is set, and the next round of the main job loop will pick this up and the kill_job command is sent to the queue_driver.