Introduce BadRevisionException

Using the more specific BadRevisionException instead of the
generic StorageException allows us to react to missing
revisions in a more specific way.

Change-Id: I8bfd843432167b74f09f971b1b1cac27c751a0b7
Merge "Introduce BadRevisionException"