Use ToJSValConvertible for all conversions to JSVal.
Remove getWrapTemplateForType and simplify wrapForType.
auto merge of #2088 : Ms2ger/servo/global-ToJSValConvertible, r=jdm