Fix an emit_series debug message
Make sure download plugin replaces % escapes if making filename from url. fix #2683
Add a urlrewriter for urls that redirect. fix #2702
Don't let redirect urlrewriter go online in unit tests.