Change internal options in resubmit from strings to integers to align with taskdb. Don't harcode list-parameters in resubmit command.