remove dependency on the flask.request object

Depends on https://github.com/superdesk/eve/pull/10