This fix deprecates and redirects /origin/log?origin_url=<url> and
/origin/<url>/log to /snapshot/log/ - Generic function to redirect to a new route. - Generic logic to forward url args and query params. - Initial tests for snapshot view
Related to T3608
I think it will be better to add a view_redirect parameter to the decorator instead of storing the deprecation_mapping dict in it.
It will make the code more readable and the decorator more generic.