Pass job options (maxmemory, maxjobruntime, numcores, priority) to server in resubmit command.
Merge pull request #4352 from AndresTanasijczuk/resubmit

Pass options (maxmemory, maxjobruntime, numcores, priority) to server in resubmit command