Pass Option<JSVal> for optional JSVals.
auto merge of #1851 : Ms2ger/servo/optional-jsval, r=jdm

Right now, we silently default to null, which is somewhat fishy.