Cleaning flask-iiif

Nothing to review yet cleaning in progress
I would remove `@staticmethod` and use `self.app.config` instead of `current_app.config`.