WIP: Cleaning flask-iiif

Nothing to review yet cleaning in progress
you should always use `current_app.config`