Merge pull request #1135 from pculture/gh-1133

Gh 1133
update test for jenkins
update test for jenkins
update test for jenkins (more)
Adjust padding for issue #1144
Adjust margins for issue #1144
Merge pull request #1150 from pculture/gh-1144

Minor layout fixes, Gh 1144
Blind fix for billing report crash

Somehow we're getting tasks with new_subtitle_version=None again.
Still no clue why this happens, but I'm guessing that calling
get_subtitle_version() should fix the issue of the billing report
generation crashing.
Made download filename more reliable (#1133)

Switched to using a whitelist approach where we only allow certain
characters and remove the others.  Switched from replacing characters
with "_" to simply removing them.  This is what django's
get_valid_filename() does and I think it will probably lead to nicer
looking filenames in general.