added res_exp_time parameter to app config
added parameter to app settings form / strong params
updated rake task
fixed rake task to check due date, not start date