Implement rev query parameter for HEAD, GET, PUT and DELETE requests.

Please also add a test that does the same with the `if-match` header. It should have the same `409` result.