Implement base SessionCollection for Context, View, and Query models

This type handles initializing a session object immediately for use by
views that depend on representing the currently active session object.

Fix #224
Merge pull request #273 from cbmi/issue-224

Implement base SessionCollection for Context, View, and Query models