fix urlconf errors by removing all module-level calls to .get_db() of a ...

...Document subclass

Relies on https://github.com/dimagi/pillowtop/pull/10