[ticket/12505] Move outdated media to downloadable files

Update constants and data schema.
Mark outdated media constants as deprecated.

PHPBB3-12505