Use opts as a global, to avoid cloning and passing the struct all over the code.
auto merge of #3729 : glennw/servo/opts-cleanup, r=mbrubeck