De-duplicate reftest code
reftest: Allow passing Servo args after --
Reftest both CPU and GPU rendering

Fixes #1179.
auto merge of #1804 : kmcallister/servo/cpu-ref-test, r=metajack

Alternative to PR #1610.