XWIKI-5673: Getting a document revision using getDocumentRevision() generates an error in Velocity
- Returning null if the version is not found instead of throwing an exception