Use RPC for the OpenInEditorHandler

This changes the OpenInEditorHandler to use RPC to send
the molecule to Avogadro rather than passing through a file.

Change-Id: Iac0c13383cc980ca2afad1f9ecfb4d617490da52