Add proxy handler deriving from DirectWrapper and related methods, along...

... with extended js::Class FFI.

Needed for https://github.com/mozilla/servo/pull/1818.