Bug 870676: Part I, WebIDL
Bug 870676: Part II, IPC
Rebase code on b2g18

- Changed back to Makefile.in
- Changed back to non-JS::Rooted
- EventHandler -> Function?
- DOMRequest -> nsIDOMDOMRequest