More than 800 people are expected to attend the funeral of York policewoman Rosie Prior, who was killed in a crash on the A19 near Thirsk.