While rewriting `swh-web` tests, I encountered a couple of issues
with the in-memory storage:
- an exception was raised when providing an invalid origin id
to the `origin*_get` methods (my bad for this)
- an exception was raised when providing an invalid revision
id to the `revision_log` method.
That diff fixes those small issues and add tests for the expected
behavior.