Fixed #23: Ported over network selection/destruction hooks.
Factored out Cy2-specific hooks into plugin-cy2.
Added model reconstruction code to lazily rebuild node/edge cache after loading from session.