Speed up multiple_jobs by only checking available slots once

Checking available slots can take a second,
which is to long to do before submitting each job.
Only check number of jobs already in queue once.
Assumes that you do not submit jobs under
the same user name simultaneously.
Submit as much jobs as will fit, or none if full.