Bug 996474.  Add a ToJSValue overload that takes a Handle<Value>.  r=bholley
Bug 996831.  Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily.  r=bholley