Separates the connection between session and display
In the future, the SessionManager class should replace "QList <Session *> _sessions;" with something like "QList <SessionDisplayConnection *> _sessions;"
The plan is to remove the properties of the TerminalDisplay class from the Session class and others, separating the classes and improving the abstraction.
This PR is a first step towards making these changes possible.
Edited by Gustavo Carneiro