changes to constraints middleware

This middleware will act as an additional check based on
Swift-on-File limitations. The proxy server will still
run the global checks.

Signed-off-by: Thiago da Silva <thiago@redhat.com>