Currently update-product-data produces YAML with dates as string for unlisted releases. This may be an issue when running again the script after having copy-pasted the produced YAML. This fixes this issue.
Automatically remove empty releases or releases which are released in the future, regardless of the product.
Also refactored a bit releasedata.py to use better names and clarify types.