WIP: Cleaning flask-iiif

Nothing to review yet cleaning in progress
Why 222222 and not `None`, 999999, maxint, or -1?