DB: add mode argument to the add_job method

Mode should be added to the jsa_proc database at a later point.
For now this argument is ignored.