"JS<T>::from_raw" should accept "*T" instead of "*mut T"
Throw DOMExceptions where appropriate (fixes #2518).
auto merge of #2519 : Ms2ger/servo/exn, r=jdm
auto merge of #2515 : saneyuki/servo/raw, r=jdm

Fix #2511

@jdm r?