Extract the extra_headers from metadata on the Revision model class
Add a new extra_headers attribute on Revision and use it for computing the revision's id instead of extract it from the metadata field.
Add a post init hook to Revision to initialize this new attribute from given metadata, if any, for bw compat.
Related to #2423 (closed).
Migrated from D3389 (view on Phabricator)