added features for pstat: check job eligibility to be modified, select recent jobs, select ranges of jobs, delete jobs from database; improved exception handling; faster job_status