Pass a JSContext to JSValConvertible::from_jsval.
Reimplement conversion to primitive types for correctness in the face of non-primitive arguments.
Fix test.
auto merge of #1791 : Ms2ger/servo/conversions, r=jdm