Set up library for shared in-process and out-of-process UI code.
Move SidePane, it has no external dependencies.
Properly handle proxy models when synchronizing selection models.

Now hierarchies and client-side sorting do no longer mess up the selection.
Listen to selection rather than current changes.

Only selections are reliably mapped between client and server.