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.

(cherry picked from commit cf07b5dc4b95f73f2ee9f2c37ea8d26bba4e8bb5)