Remove unused code to support preffed-off and chrome-only APIs.
Remove compiler warnings from generated mako templates.
auto merge of #2657 : Ms2ger/servo/geckoisms, r=jdm
auto merge of #2660 : glennw/servo/mako-warnings, r=jdm