Travis check for Python imports in OmeroWeb (dev_5_0)

This additional check in `travis-build` will catch imports that don't actually work, like we had a while ago when I removed an apparently unused import that was being imported indirectly by another module.

flake8 does not detect invalid imports by itself.

--rebased-from #2350