Fixed the lazy loading machinary to allow using flask_wtf for LoCo2 webadmin.

This reinstates the removed import machinery as we can't fix all third party
packages which happen to import from werkzeug. The hidden imports must still
be declared but importing from werkzeug works again now if the underlying are
actually shipped.