[Quiz]: New query methods to find out whether a quiz is compiled or is being compiled
First bits of scaffolding for polling delayed jobs queue

The aim is to be able to
  1. give an accurate estimate for when a quiz / testpaper would be done compiling
  2. if the user sticks around, and compilation finishes, then to let the user know
     that too