Add current_job field to Device model and remove prefetches (+5960% performance)
Prefetching all jobs to just use the only a last job for each
device caused horrible performance for the pages like
scheduler/alldevices/active
.
Instead keep track of current job using the one to one field. The field is updated every time the device state changes.
The migration will fill in the current jobs for all devices when running.