Abort any pending async requests for models and collections

Fixes #3360.
Make code reusable by external app
Cleanup: PEP8
Webpack: use local installation

It's a project's dev dependency after all, and way more easier to manage
and control.
Settings: Add logging settings to 20-backends.conf