Bug 874913 download fx

This is based on PR #2196 but with invalidated tests deleted and on the mozilla fork for pushing to demo environment. Currently running on https://www-demo4.allizom.org