[nim] Tested that visualisations added to the session get sequential ids
[nim] Testing that getting visualisation from session by id works. Refactoring tests
[nim] Session is now monotone and automatically attached to the window. Can be accessed without namespace qualification anywhere in the app