Remove jQuery from RemoteFunctions and replace with applyDOMEdits

`HTMLDocument` `onChange` handler now sends diffs directly to `RemoteFunctions`. Replaced all jQuery usage and Removed `RemoteElement`.

Merged with master.

Assigned to @dangoor.

Unit tests pass, and scenario testing was mostly ok except for pasting a simple tag element with text content. The new tag wasn't inserted.