client: support optional date in Revision and Release
From the model specification, the date attribute in Revision and Release objects is optional. This commit handles the date attribute set to the None value.
It also tests the "typification" of a minimal Revision object to avoid regressions on this usecase.
Migrated from D2958 (view on Phabricator)