omeroweb flake8 cleanup: unused imports (dev_5_0)

Remove unused imports.  This does not remove all unused imports to avoid conflicts, but starts the process.

--rebased-from #2243