Add an option to set device pixel ratio
Default to 1 dppx in headless mode
auto merge of #2549 : mbrubeck/servo/hidpi-opt, r=metajack

This is part of the fix for #2276. r? @metajack