Fixed functions which use getListOfActiveJobs

The function getListOfActiveJobs now returns a list of tuples
(jobId, jobTaksId, jobStatus), therefore simple tests whether a job ID is in
the list do no longer work. Create a temporary list containing only the
job ID from the tuple.
Removed default array parameters

Removed default array parameters in submitArrayJob, also moved jobName to the
last parameter, as it now is the only parameter without a default value.