HSApp: sessions

Complete the original list of tasks from #10:
* [x] Maintain state between successive expression evaluations (session)
* [ ] Support multiple sessions in multiple windows
* [x] In addition to expression evaluation, support querying of types